Browse Source

Fix typo in worker.py

The attribute in OptionGroup is called option_list, not options_list
Greg Wilbur 8 years ago
parent
commit
876e6bdc49
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/bin/worker.py

+ 1 - 1
celery/bin/worker.py

@@ -340,7 +340,7 @@ class worker(Command):
         user_options = self.app.user_options['worker']
         if user_options:
             uopts = OptionGroup(parser, 'User Options')
-            uopts.options_list.extend(user_options)
+            uopts.option_list.extend(user_options)
             parser.add_option_group(uopts)