diff options
author | Jhon Honce <jhonce@redhat.com> | 2018-10-31 17:29:29 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2018-11-01 10:32:39 -0700 |
commit | a4c0cdedb90897104002c3a746782a8d55b7ab23 (patch) | |
tree | b837abcac671dfb0bfd03cfc94e9fbb617fa0af6 /contrib/python/podman | |
parent | 17716d787aadee778436641371b487441374484e (diff) | |
download | podman-a4c0cdedb90897104002c3a746782a8d55b7ab23.tar.gz podman-a4c0cdedb90897104002c3a746782a8d55b7ab23.tar.bz2 podman-a4c0cdedb90897104002c3a746782a8d55b7ab23.zip |
Add ChangeAction to parse sub-options from --change
* Covers both commit and import commands
* Cleaned up export command
* Removed unneeded calls to super().__init__()
Fixes #1702
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'contrib/python/podman')
-rw-r--r-- | contrib/python/podman/podman/libs/images.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/python/podman/podman/libs/images.py b/contrib/python/podman/podman/libs/images.py index 982546cd2..9453fb416 100644 --- a/contrib/python/podman/podman/libs/images.py +++ b/contrib/python/podman/podman/libs/images.py @@ -137,7 +137,7 @@ class Images(): results = podman.DeleteUnusedImages() return results['images'] - def import_image(self, source, reference, message=None, changes=None): + def import_image(self, source, reference, message='', changes=None): """Read image tarball from source and save in image store.""" with self._client() as podman: results = podman.ImportImage(source, reference, message, changes) |