Fix for pep8 failures

This commit is contained in:
Tom Arnfeld 2014-04-23 13:36:36 +01:00
parent 28eb629c87
commit 45ef4ab931
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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 #
#######################