Files
python-glanceclient/glanceclient/tests/unit
Zhiqiang Fan a8a7c68990 print usage when no argument is specified for python3
When running just 'glance' under python3, we will get the error:
ERROR: 'Namespace' object has no attribute 'func'

This is because map() is used to decode sys.argv, but under Python3
it returns a map object which is an iterable. Some code later tries
to use this in a boolean context and it will always return True,
even if it's empty.

Change-Id: I2f03e462cb813833b75b9f2de7badd10b10cddff
Closes-Bug: #1295356
2015-10-09 11:03:15 -06:00
..
2015-04-18 17:42:20 +00:00
2015-09-08 20:52:45 +09:00