Skip to content

Commit 4fd875f

Browse files
committed
Adhere to style guide
Signed-off-by: Viranch Mehta <viranch.mehta@gmail.com>
1 parent 7283c2f commit 4fd875f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compose/service.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ def labels(self, one_off=False):
679679

680680
def can_be_scaled(self):
681681
for port in self.options.get('ports', []):
682-
if ':' in str(port) and not '::' in str(port):
682+
if ':' in str(port) and '::' not in str(port):
683683
return False
684684
return True
685685

0 commit comments

Comments
 (0)