leveraging six a bit better now; also, py27 should not be broken now
This commit is contained in:
@@ -171,8 +171,8 @@ class Boolean(Signature):
|
||||
# Python 3.x
|
||||
return self.bool
|
||||
|
||||
# Python 2.7
|
||||
def __nonzero__(self): # pragma: no cover
|
||||
# Python 2.7
|
||||
return self.bool
|
||||
|
||||
def parse(self, packet):
|
||||
|
||||
Reference in New Issue
Block a user