]> Cypherpunks.ru repositories - pyderasn.git/blobdiff - pyderasn.py
Fix DecodePathDefBy workability with Python2
[pyderasn.git] / pyderasn.py
index 3b5c4d824a47eda126121f843281c0050b2eed6a..0c7812c8d4a70eb9cbc1ca18d77158160133c830 100755 (executable)
@@ -1018,6 +1018,9 @@ class DecodePathDefBy(object):
     def __init__(self, defined_by):
         self.defined_by = defined_by
 
+    def __ne__(self, their):
+        return not(self == their)
+
     def __eq__(self, their):
         if not isinstance(their, self.__class__):
             return False