mirror of https://github.com/docker/docker-py.git
Fix for pep8 failures
This commit is contained in:
parent
28eb629c87
commit
45ef4ab931
|
@ -317,7 +317,8 @@ class Client(requests.Session):
|
|||
else:
|
||||
if fileobj is not None:
|
||||
context = utils.mkbuildcontext(fileobj)
|
||||
elif path.startswith(('http://', 'https://', 'git://', 'github.com/')):
|
||||
elif path.startswith(('http://', 'https://',
|
||||
'git://', 'github.com/')):
|
||||
remote = path
|
||||
else:
|
||||
context = utils.tar(path)
|
||||
|
|
|
@ -1245,7 +1245,6 @@ class DockerClientTest(unittest.TestCase):
|
|||
except Exception as e:
|
||||
self.fail('Command should not raise exception: {0}'.format(e))
|
||||
|
||||
|
||||
#######################
|
||||
# PY SPECIFIC TESTS #
|
||||
#######################
|
||||
|
|
Loading…
Reference in New Issue