From 46e4308f7c68bd83a21b425bf0ea50d285e52840 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Mon, 4 Apr 2016 11:57:30 -0400 Subject: [PATCH] Fix pbs runner file touch. --- lib/galaxy/jobs/runners/pbs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/jobs/runners/pbs.py b/lib/galaxy/jobs/runners/pbs.py index bfaa6d5cc05..5a40abd2741 100644 --- a/lib/galaxy/jobs/runners/pbs.py +++ b/lib/galaxy/jobs/runners/pbs.py @@ -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 % (