Skip to content

Commit

Permalink
Fix assertion parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
philipn committed Jul 16, 2016
1 parent 6644adf commit f2890b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions container_transform/compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ def ingest_volumes_from(self, volumes_from):
parts = vol.split(':')
rwo_value = None

assert(len(parts) <= 3,
"Volume string '{}' has too many colons".format(vol))
assert len(parts) <= 3, \
"Volume string '{}' has too many colons".format(vol)

if len(parts) == 3:
# Is form 'service:name:ro' or 'container:name:ro'
Expand Down

0 comments on commit f2890b3

Please sign in to comment.