mirror of
https://github.com/OpenKMIP/PyKMIP.git
synced 2025-05-28 18:50:07 +02:00
Merge pull request #119 from OpenKMIP/bug/fix-binary-operator-line-break
Fixing line break style error
This commit is contained in:
commit
44f5b1978b
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user