1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/af3673244a6f/ changeset: af3673244a6f user: natefoo date: 2011-09-07 15:05:52 summary: Be more forgiving about running the disk accounting scripts from outside the galaxy-dist directory. affected #: 2 files (204 bytes) --- a/scripts/set_dataset_sizes.py Tue Sep 06 13:41:06 2011 -0400 +++ b/scripts/set_dataset_sizes.py Wed Sep 07 09:05:52 2011 -0400 @@ -4,8 +4,10 @@ from ConfigParser import ConfigParser from optparse import OptionParser +default_config = os.path.abspath( os.path.join( os.path.dirname( __file__ ), '..', 'universe_wsgi.ini') ) + parser = OptionParser() -parser.add_option( '-c', '--config', dest='config', help='Path to Galaxy config file (universe_wsgi.ini)', default='universe_wsgi.ini' ) +parser.add_option( '-c', '--config', dest='config', help='Path to Galaxy config file (universe_wsgi.ini)', default=default_config ) ( options, args ) = parser.parse_args() def init(): --- a/scripts/set_user_disk_usage.py Tue Sep 06 13:41:06 2011 -0400 +++ b/scripts/set_user_disk_usage.py Wed Sep 07 09:05:52 2011 -0400 @@ -4,8 +4,10 @@ from ConfigParser import ConfigParser from optparse import OptionParser +default_config = os.path.abspath( os.path.join( os.path.dirname( __file__ ), '..', 'universe_wsgi.ini') ) + parser = OptionParser() -parser.add_option( '-c', '--config', dest='config', help='Path to Galaxy config file (universe_wsgi.ini)', default='universe_wsgi.ini' ) +parser.add_option( '-c', '--config', dest='config', help='Path to Galaxy config file (universe_wsgi.ini)', default=default_config ) parser.add_option( '-u', '--username', dest='username', help='Username of user to update', default='all' ) parser.add_option( '-e', '--email', dest='email', help='Email address of user to update', default='all' ) parser.add_option( '--dry-run', dest='dryrun', help='Dry run (show changes but do not save to database)', action='store_true', default=False ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.