Skip to content

bloom-generate crashes with AttributeError #580

@rotu

Description

@rotu

When provided with no arguments, bloom-generate should display help. Instead it crashes:

bloom-generate
Traceback (most recent call last):
  File "/home/dan/.local/bin/bloom-generate", line 8, in <module>
    sys.exit(main())
  File "/home/dan/.local/lib/python3.8/site-packages/bloom/commands/generate.py", line 85, in main
    handle_global_arguments(args)
  File "/home/dan/.local/lib/python3.8/site-packages/bloom/util.py", line 308, in handle_global_arguments
    enable_debug(args.debug or 'DEBUG' in os.environ)
AttributeError: 'Namespace' object has no attribute 'debug'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions