Resolve a bunch of merge conflicts.

This commit is contained in:
Daniel Blankenberg
2008-10-31 11:28:09 -04:00
24 changed files with 463 additions and 352 deletions
+1 -3
View File
@@ -191,8 +191,6 @@ def purge_histories( h, d, m, cutoff_time, remove_from_disk ):
if errmsg:
errors = True
print errmsg
else:
print "%s" % dataset.file_name
else:
dataset.purged = True
dataset.flush()
@@ -264,7 +262,6 @@ def purge_datasets( d, m, cutoff_time, remove_from_disk ):
print errmsg
else:
dataset_count += 1
print "%s" % dataset.file_name
else:
dataset.purged = True
dataset.file_size = 0
@@ -314,6 +311,7 @@ def purge_dataset( dataset, m ):
else:
# Remove dataset file from disk
os.unlink( dataset.file_name )
print "%s" % dataset.file_name
# Mark all associated MetadataFiles as deleted and purged and remove them from disk
print "The following metadata files associated with dataset '%s' have been purged" % dataset.file_name
for hda in dataset.history_associations:
+3
View File
@@ -27,6 +27,9 @@ for dir in [ "build", "dist" ]:
print "scramble(): removing dir:", dir
shutil.rmtree( dir )
# the build process doesn't set an rpath for libtorque
os.environ['LD_RUN_PATH'] = os.environ['LIBTORQUE_DIR']
print "scramble(): Running pbs_python configure script"
p = subprocess.Popen( args = "sh configure --with-pbsdir=%s" % os.environ['LIBTORQUE_DIR'], shell = True )
r = p.wait()