diff options
author | Jhon Honce <jhonce@redhat.com> | 2018-11-28 15:04:06 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2018-12-05 15:43:08 -0700 |
commit | c60489da47228234fd526cd67d065f9a28aafcb8 (patch) | |
tree | 4c23aba816c59c73deca3ebaa04d976747f7c1d5 /contrib/python/pypodman/pypodman/lib/actions/info_action.py | |
parent | bbcbf03f7307d75e69de17db06edc7d54c190ffc (diff) | |
download | podman-c60489da47228234fd526cd67d065f9a28aafcb8.tar.gz podman-c60489da47228234fd526cd67d065f9a28aafcb8.tar.bz2 podman-c60489da47228234fd526cd67d065f9a28aafcb8.zip |
Refactor BooleanAction to mimic golang interface
* Change all store_true or store_false to use store_bool.
New behavior documented in BooleanAction docstring.
* Remove any extraneous code identified by pylint in files from above.
Fixes #1869
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'contrib/python/pypodman/pypodman/lib/actions/info_action.py')
-rw-r--r-- | contrib/python/pypodman/pypodman/lib/actions/info_action.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/contrib/python/pypodman/pypodman/lib/actions/info_action.py b/contrib/python/pypodman/pypodman/lib/actions/info_action.py index 988284541..3c854a358 100644 --- a/contrib/python/pypodman/pypodman/lib/actions/info_action.py +++ b/contrib/python/pypodman/pypodman/lib/actions/info_action.py @@ -22,10 +22,6 @@ class Info(AbstractActionBase): " (default: yaml)") parser.set_defaults(class_=cls, method='info') - def __init__(self, args): - """Construct Info class.""" - super().__init__(args) - def info(self): """Report on Podman Service.""" try: |