python error when using 'sudo snappy install' with no args
Bug #1400805 reported by
Chris J Arges
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Fix Released
|
Wishlist
|
Michael Vogt |
Bug Description
$ sudo snappy install
Usage:snappy [-h] [-v]
...
Traceback (most recent call last):
File "/usr/bin/snappy", line 9, in <module>
status = Main().__main__()
File "/usr/lib/
return callback(args)
File "/usr/lib/
+ packages + [package]
UnboundLocalError: local variable 'package' referenced before assignment
Seems like we should catch this exception before and display usage or a warning to the user.
information type: | Embargoed → Public |
affects: | snappy-ubuntu → snappy |
To post a comment you must log in.
mvo: another case to wrap in our general console experience "error reporting"; need to design and make this clean.