Skip to content

AttributeError: type object 'BaseCommand' has no attribute 'option_list' #545

@kerrermanisNL

Description

@kerrermanisNL

When trying to run lettuce tests on Django 1.10 I get the following error:

File ".../local/lib/python2.7/site-packages/lettuce/django/management/commands/harvest.py", line 43, in Command
  option_list = BaseCommand.option_list + (
AttributeError: type object 'BaseCommand' has no attribute 'option_list'

This function has been deprecated since 1.8 and was completely dropped since 1.10. A fix for this would be much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions