summaryrefslogtreecommitdiff
path: root/openstackclient/identity
diff options
context:
space:
mode:
authorMichael McCune <msm@redhat.com>2016-04-28 15:15:57 -0400
committerMichael McCune <msm@redhat.com>2016-05-02 15:11:45 -0400
commitb33ee3daf6eebc74fb176b1f2d8018e0e2214377 (patch)
treecc2d8caac62370b2e2d16efdf4d2fee2aac131fd /openstackclient/identity
parent9d7ccd9385776c8c0edf90094b8ef323ef1890a6 (diff)
downloadpython-openstackclient-b33ee3daf6eebc74fb176b1f2d8018e0e2214377.tar.gz
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
Diffstat (limited to 'openstackclient/identity')
0 files changed, 0 insertions, 0 deletions