diff options
author | Bastian Venthur <bastian.venthur@flixbus.com> | 2019-11-19 15:34:42 +0100 |
---|---|---|
committer | Bastian Venthur <bastian.venthur@flixbus.com> | 2020-06-03 17:43:16 +0200 |
commit | 5529376d4c9ae47b1330f6f74bc6d73ddb791b8f (patch) | |
tree | fc9c03e4df9c201ecc9aa01d3c693f1e1e414c7b /compose/container.py | |
parent | e8424d5ae0de01fae98fa7aaff3c79cbb1dfcf2b (diff) |
Removed six
Signed-off-by: Bastian Venthur <bastian.venthur@flixbus.com>
Diffstat (limited to 'compose/container.py')
-rw-r--r-- | compose/container.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compose/container.py b/compose/container.py index 37de4e6f..18deabbd 100644 --- a/compose/container.py +++ b/compose/container.py @@ -1,6 +1,5 @@ from functools import reduce -import six from docker.errors import ImageNotFound from .const import LABEL_CONTAINER_NUMBER @@ -127,7 +126,7 @@ class Container(object): return ', '.join( ','.join(format_port(*item)) - for item in sorted(six.iteritems(self.ports)) + for item in sorted(self.ports.items()) ) @property |