* Issue #23 - 'verbose' option on create_escalation_exclusions

caused issues with some other installed Django apps. Thank you
  to Paul Boehm.
This commit is contained in:
Ross Poulton
2008-11-18 00:00:36 +00:00
parent 4a70c7bb1f
commit 988a4db198
2 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ class Command(BaseCommand):
'--queues', '-q',
help='Queues to include (default: all). Use queue slugs'),
make_option(
'--verbose', '-v',
'--escalate-verbosely', '-x',
action='store_true',
default=False,
help='Display a list of dates excluded'),
@ -50,7 +50,7 @@ class Command(BaseCommand):
queue_slugs = options['queues']
queues = []
if options['verbose']:
if options['escalate-verbosely']:
verbose = True
# this should already be handled by optparse
@ -129,7 +129,7 @@ if __name__ == '__main__':
queues = []
for o, a in opts:
if o in ('-v', '--verbose'):
if o in ('-x', '--escalate-verbosely'):
verbose = True
if o in ('-d', '--days'):
days = a