Skip to content

Commit

Permalink
pep8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jtriley committed Mar 13, 2015
1 parent 5250489 commit ca69338
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion starcluster/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -2051,7 +2051,8 @@ def validate_permission_settings(self):
if from_port != -1 or to_port != -1:
raise exception.InvalidPortRange(
from_port, to_port,
reason="for icmp protocol from_port and to_port must be -1")
reason="for icmp protocol from_port "
"and to_port must be -1")
else:
if from_port < 0 or to_port < 0:
raise exception.InvalidPortRange(
Expand Down

0 comments on commit ca69338

Please sign in to comment.