Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bloom-generate crashes with AttributeError #580

Open
rotu opened this issue Apr 6, 2020 · 0 comments · May be fixed by #619
Open

bloom-generate crashes with AttributeError #580

rotu opened this issue Apr 6, 2020 · 0 comments · May be fixed by #619

Comments

@rotu
Copy link

rotu commented Apr 6, 2020

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'
pseyfert added a commit to pseyfert/bloom that referenced this issue Feb 24, 2021
This handles when `bloom-generate` gets called without argument and
aborts processing.
This fixes ros-infrastructure#580.
@pseyfert pseyfert linked a pull request Feb 24, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant