mirror of https://github.com/docker/docker-py.git
Line to long...
This commit is contained in:
parent
81023578f5
commit
e012d31752
|
@ -312,7 +312,7 @@ class Client(requests.Session):
|
||||||
|
|
||||||
if custom_context:
|
if custom_context:
|
||||||
if not fileobj:
|
if not fileobj:
|
||||||
raise TypeError("You must specify fileobj for a custom context")
|
raise TypeError("You must specify fileobj with custom_context")
|
||||||
context = fileobj
|
context = fileobj
|
||||||
elif fileobj is not None:
|
elif fileobj is not None:
|
||||||
context = utils.mkbuildcontext(fileobj)
|
context = utils.mkbuildcontext(fileobj)
|
||||||
|
|
Loading…
Reference in New Issue