mirror of
https://opendev.org/openstack/python-openstackclient.git
synced 2026-01-17 07:20:45 +00:00
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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| availability_zone.py | ||
| clientmanager.py | ||
| command.py | ||
| commandmanager.py | ||
| configuration.py | ||
| exceptions.py | ||
| extension.py | ||
| limits.py | ||
| logs.py | ||
| module.py | ||
| parseractions.py | ||
| quota.py | ||
| session.py | ||
| timing.py | ||
| utils.py | ||