forked from extern/django-helpdesk
Merge pull request #707 from JayTurnr/patch-1
AttributeError: 'Command' object has no attribute 'option_list'
This commit is contained in:
commit
9bdd7c60f7
@ -32,7 +32,7 @@ class Command(BaseCommand):
|
||||
def __init__(self):
|
||||
BaseCommand.__init__(self)
|
||||
|
||||
self.option_list += (
|
||||
self.option_list = (
|
||||
make_option(
|
||||
'--queues',
|
||||
help='Queues to include (default: all). Use queue slugs'),
|
||||
@ -48,9 +48,9 @@ class Command(BaseCommand):
|
||||
queue_slugs = None
|
||||
queues = []
|
||||
|
||||
if options['verboseescalation']:
|
||||
if 'verboseescalation' in options:
|
||||
verbose = True
|
||||
if options['queues']:
|
||||
if 'queues' in options:
|
||||
queue_slugs = options['queues']
|
||||
|
||||
if queue_slugs is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user