Fix pbs runner file touch.

This commit is contained in:
Dannon Baker
2016-04-04 11:57:30 -04:00
parent 3ecd4e94cf
commit 46e4308f7c
+1 -1
View File
@@ -272,7 +272,7 @@ class PBSJobRunner( AsynchronousJobRunner ):
# write the job script
if self.app.config.pbs_stage_path != '':
# touch the ecfile so that it gets staged
with file(ecfile, 'a'):
with open(ecfile, 'a'):
os.utime(ecfile, None)
stage_commands = pbs_symlink_template % (