openstack-python-openstackc.../openstackclient/common
Michael McCune b33ee3daf6 remove assert in favor an if/else
the assert usage in the NonNegativeAction has the potential to allow
unexpected behavior when the python is byte-compiled with optimization
turned on.

Changes
* remove assert in favor of if/else in NonNegativeAction class
* add type specifier to parser arguments for non-negative actions
* correct tests for new int based values

Change-Id: I093e7440b8beff4f179e2c4ed81daff82704c40e
Closes-Bug: #1576375
2016-05-02 15:11:45 -04:00
..
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
availability_zone.py Refactor network AZ exception handling 2016-02-10 13:49:30 -06:00
clientmanager.py Propagate AttributeErrors when lazily loading plugins 2016-04-14 21:12:35 -07:00
command.py Fixed a bunch of spacing 2016-02-23 10:38:58 -06:00
commandmanager.py Fix dict.keys() compatibility for python 3 2016-03-12 10:58:28 +08:00
configuration.py log take_action parameters in a single place 2016-02-02 09:58:32 +09:00
exceptions.py Propagate AttributeErrors when lazily loading plugins 2016-04-14 21:12:35 -07:00
extension.py log take_action parameters in a single place 2016-02-02 09:58:32 +09:00
limits.py Trivial: Fix typo in common/limits.py 2016-03-23 16:04:21 +08:00
logs.py Clean redundant argument to dict.get 2016-02-21 13:21:31 +08:00
module.py Fixed command list 2016-03-09 16:00:39 +00:00
parseractions.py remove assert in favor an if/else 2016-05-02 15:11:45 -04:00
quota.py Support quota show for current project 2016-04-21 11:33:24 -05:00
session.py Switch to ksa Session 2015-12-02 01:55:14 +00:00
timing.py Defaults are ignored with flake8 2016-02-23 11:08:36 -06:00
utils.py Don't mask authorization errors 2016-04-01 16:44:33 -04:00