Updated openstack/openstack

Project: openstack/python-novaclient  d85c24ff5ad1094345d2e38fcdb6ae58458be636
null
Fix error when run with no arguments on Python 3

Python 3 changed the map built-in to return an iterable instead of a list.
When tested in a boolean context, this always returns True, even if it
would not return anything when iterated.

Instead of the usage being printed, this error was printed:
ERROR: 'Namespace' object has no attribute 'func'

Use list comprehension instead to ensure that an iterable isn't returned

Change-Id: Ie15f2fa8ee93ab26490e371133fa0f944430737b
Closes-bug: 1295356
This commit is contained in:
Jenkins 2014-03-28 20:31:50 +00:00 committed by Gerrit Code Review
parent 862cfd2fbd
commit 0d9747d34e
1 changed files with 1 additions and 1 deletions

@ -1 +1 @@
Subproject commit fce239650fbc8418b9f713a2baf4a11c3f6ceb1d
Subproject commit d85c24ff5ad1094345d2e38fcdb6ae58458be636