details: http://www.bx.psu.edu/hg/galaxy/rev/8877ef766447 changeset: 2680:8877ef766447 user: Greg Von Kuster greg@bx.psu.edu date: Fri Sep 11 11:26:26 2009 -0400 description: Fix for cleanup_datasets.py script.
1 file(s) affected in this change:
scripts/cleanup_datasets/cleanup_datasets.py
diffs (25 lines):
diff -r ed4cbaf23c88 -r 8877ef766447 scripts/cleanup_datasets/cleanup_datasets.py --- a/scripts/cleanup_datasets/cleanup_datasets.py Fri Sep 11 09:00:36 2009 -0400 +++ b/scripts/cleanup_datasets/cleanup_datasets.py Fri Sep 11 11:26:26 2009 -0400 @@ -1,4 +1,8 @@ #!/usr/bin/env python + +from galaxy import eggs +import pkg_resources +pkg_resources.require( "SQLAlchemy >= 0.4" )
import sys, os, time, ConfigParser, shutil from datetime import datetime, timedelta @@ -9,12 +13,7 @@ new_path.extend( sys.path[1:] ) # remove scripts/ from the path sys.path = new_path
-from galaxy import eggs import galaxy.model.mapping -import pkg_resources - -pkg_resources.require( "SQLAlchemy >= 0.4" ) - from galaxy.model.orm import and_, eagerload
assert sys.version_info[:2] >= ( 2, 4 )
galaxy-dev@lists.galaxyproject.org