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

Help crashes if specified plugin does not exist #13

Closed
sergiusens opened this issue Oct 29, 2015 · 1 comment
Closed

Help crashes if specified plugin does not exist #13

sergiusens opened this issue Oct 29, 2015 · 1 comment

Comments

@sergiusens
Copy link
Collaborator

daniel@daydream:/dev/snappy/snapcraft$ ./bin/snapcraft help plugin
The plugin does not exist. Use one of the following:
ant
autotools
catkin
cmake
copy
go
jdk
make
maven
python2
python3
qml
roscore
scons
tar-content
Traceback (most recent call last):
File "./bin/snapcraft", line 33, in
snapcraft.main.main()
File "/home/daniel/dev/snappy/snapcraft/snapcraft/main.py", line 115, in main
args.func(args)
File "/home/daniel/dev/snappy/snapcraft/snapcraft/help.py", line 50, in topic
_module_help(args.topic, args.devel)
File "/home/daniel/dev/snappy/snapcraft/snapcraft/help.py", line 68, in _module_help
if module.doc and devel:
UnboundLocalError: local variable 'module' referenced before assignment
daniel@daydream:
/dev/snappy/snapcraft$

Launchpad Details: #LP1510954 Daniel Holbach - 2015-10-28 11:19:12 -0300

@sergiusens
Copy link
Collaborator Author

Confirmed that there is no traceback anymore.

Launchpad Details: #LPC Leo Arias - 2015-10-29 01:14:22 -0300

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

No branches or pull requests

1 participant