Fixing line break style error

This change fixes a minor style error where a line break was used
before a binary operator in an if-statement.
This commit is contained in:
Peter 2016-01-14 10:43:56 -05:00
parent a7a3b958d0
commit fee1157ee7
1 changed files with 3 additions and 4 deletions

View File

@ -103,10 +103,9 @@ class ProtocolVersion(Struct):
def __eq__(self, other):
if isinstance(other, ProtocolVersion):
if ((self.protocol_version_major ==
other.protocol_version_major)
and
(self.protocol_version_minor ==
other.protocol_version_minor)):
other.protocol_version_major) and
(self.protocol_version_minor ==
other.protocol_version_minor)):
return True
else:
return False