commit/galaxy-central: natefoo: Clarify output messages of set_user_disk_usage.py
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/3bd28e1e3e60/ changeset: 3bd28e1e3e60 user: natefoo date: 2011-09-07 21:07:05 summary: Clarify output messages of set_user_disk_usage.py affected #: 1 file (2 bytes) --- a/scripts/set_user_disk_usage.py Wed Sep 07 12:28:18 2011 -0400 +++ b/scripts/set_user_disk_usage.py Wed Sep 07 15:07:05 2011 -0400 @@ -38,7 +38,7 @@ def quotacheck( sa_session, users ): sa_session.refresh( user ) current = user.get_disk_usage() - print user.username, '<' + user.email + '> current usage:', str( current ) + ',', + print user.username, '<' + user.email + '> old usage:', str( current ) + ',', new = user.calculate_disk_usage() sa_session.refresh( user ) # usage changed while calculating, do it again @@ -49,7 +49,7 @@ if new == current: print 'no change' else: - print 'new:', new + print 'new usage:', new if not options.dryrun: user.set_disk_usage( new ) sa_session.add( user ) 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.
participants (1)
-
Bitbucket