We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b88763c commit 0819a24Copy full SHA for 0819a24
1 file changed
iptc/ip4tc.py
@@ -580,8 +580,8 @@ def __eq__(self, targ):
580
self.target.u.user.name == "RETURN" or
581
self.target.u.user.name == "ERROR"):
582
return True
583
- if (self.target_buf[basesz:self.usersize] ==
584
- targ.target_buf[basesz:targ.usersize]):
+ if (self._target_buf[basesz:self.usersize] ==
+ targ._target_buf[basesz:targ.usersize]):
585
586
return False
587
@@ -645,11 +645,6 @@ def _get_target(self):
645
target = property(_get_target)
646
"""This is the C structure used by the extension."""
647
648
- def _get_target_buf(self):
649
- return self._target_buf
650
- target_buf = property(_get_target_buf)
651
- """This is the buffer holding the C structure used by the extension."""
652
-
653
654
class Policy(object):
655
"""
0 commit comments