Kaydet (Commit) f9c84cbe authored tarafından Joffrey F's avatar Joffrey F

pep8 fix

üst 92c9a89f
...@@ -115,6 +115,7 @@ def convert_port_bindings(port_bindings): ...@@ -115,6 +115,7 @@ def convert_port_bindings(port_bindings):
result[key] = [_convert_port_binding(v)] result[key] = [_convert_port_binding(v)]
return result return result
def convert_volume_binds(binds): def convert_volume_binds(binds):
result = [] result = []
for k, v in binds.items(): for k, v in binds.items():
...@@ -126,6 +127,7 @@ def convert_volume_binds(binds): ...@@ -126,6 +127,7 @@ def convert_volume_binds(binds):
result.append('%s:%s:rw' % (k, v)) result.append('%s:%s:rw' % (k, v))
return result return result
def parse_repository_tag(repo): def parse_repository_tag(repo):
column_index = repo.rfind(':') column_index = repo.rfind(':')
if column_index < 0: if column_index < 0:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment