Skip to content

Commit

Permalink
bug fix. condor does not like os.symlink
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Blanca committed Aug 31, 2009
1 parent f4bc17c commit 14b9d61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion psubprocess/prunner.py
Expand Up @@ -634,7 +634,8 @@ def splitter(file_, work_dirs):
delete=False)
if copy_files:
os.remove(ofh.name)
os.symlink(fname, ofh.name)
#i've tried with os.symlink but condor does not like it
shutil.copyfile(fname, ofh.name)
#the file will be deleted
#what do we need the fname or the fhand?
if file_is_str:
Expand Down

0 comments on commit 14b9d61

Please sign in to comment.