1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/4ccb86916392/ changeset: 4ccb86916392 user: natefoo date: 2012-10-01 19:45:37 summary: pgcleanup: Print a useful message if no options are given. affected #: 1 file diff -r 844e566f36acc3d94856a55c0d4d4dcf291f8b81 -r 4ccb8691639233bb99b4f3e3ebb9b9eacf4c9461 scripts/cleanup_datasets/pgcleanup.py --- a/scripts/cleanup_datasets/pgcleanup.py +++ b/scripts/cleanup_datasets/pgcleanup.py @@ -76,6 +76,11 @@ self.options.sequence = [ x.strip() for x in self.options.sequence.split(',') ] + if self.options.sequence == ['']: + print "Error: At least one action must be specified in the action sequence\n" + parser.print_help() + sys.exit(0) + def __setup_logging(self): format = "%(funcName)s %(levelname)s %(asctime)s %(message)s" if self.options.debug: 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.