A fix for the metadata reverting issue seen with PBS job runner.

This commit is contained in:
Daniel Blankenberg
2008-11-03 15:21:03 -05:00
parent e569de3385
commit 49c55b5dd7
+2 -1
View File
@@ -274,6 +274,7 @@ class JobWrapper( object ):
Prepare the job to run by creating the working directory and the
config files.
"""
mapping.context.current.clear() #this prevents the metadata reverting that has been seen in conjunction with the PBS job runner
# Create the working directory
self.working_directory = \
os.path.join( self.app.config.job_working_directory, str( self.job_id ) )
@@ -643,4 +644,4 @@ class NoopQueue( object ):
def put( self, *args ):
return
def shutdown( self ):
return
return