[hg] galaxy 2696: More fixes for cleanup_datasets.py
details: http://www.bx.psu.edu/hg/galaxy/rev/bd160d40ee15 changeset: 2696:bd160d40ee15 user: Nate Coraor <nate@bx.psu.edu> date: Tue Sep 15 12:57:17 2009 -0400 description: More fixes for cleanup_datasets.py 1 file(s) affected in this change: scripts/cleanup_datasets/cleanup_datasets.py diffs (19 lines): diff -r b25489f4fb26 -r bd160d40ee15 scripts/cleanup_datasets/cleanup_datasets.py --- a/scripts/cleanup_datasets/cleanup_datasets.py Tue Sep 15 12:04:14 2009 -0400 +++ b/scripts/cleanup_datasets/cleanup_datasets.py Tue Sep 15 12:57:17 2009 -0400 @@ -1,4 +1,6 @@ #!/usr/bin/env python + +import os, sys new_path = [ os.path.join( os.getcwd(), "lib" ) ] new_path.extend( sys.path[1:] ) # remove scripts/ from the path @@ -8,7 +10,7 @@ import pkg_resources pkg_resources.require( "SQLAlchemy >= 0.4" ) -import sys, os, time, ConfigParser, shutil +import time, ConfigParser, shutil from datetime import datetime, timedelta from time import strftime from optparse import OptionParser
participants (1)
-
Nate Coraor