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

View File

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