diff options
author | Leks <alexsmir@list.ru> | 2019-03-01 14:05:39 +0300 |
---|---|---|
committer | Leks <alexsmir@list.ru> | 2019-03-01 14:05:39 +0300 |
commit | 37e096f6add7e26ada3d6840ce9a9ce341bbdf23 (patch) | |
tree | 50f232de3b4a4188af8fb5187009560e2d0af8b7 | |
parent | 24ace2dac8c82d342449c5d2843139559c273fa4 (diff) | |
download | docker-py-37e096f6add7e26ada3d6840ce9a9ce341bbdf23.tar.gz |
set buildargs default value if None
Signed-off-by: Leks <alexsmir@list.ru>
-rw-r--r-- | docker/api/build.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/api/build.py b/docker/api/build.py index 53c94b0..5176afb 100644 --- a/docker/api/build.py +++ b/docker/api/build.py @@ -121,6 +121,7 @@ class BuildApiMixin(object): remote = context = None headers = {} container_limits = container_limits or {} + buildargs = buildargs or {} if path is None and fileobj is None: raise TypeError("Either path or fileobj needs to be provided.") if gzip and encoding is not None: |