summaryrefslogtreecommitdiff
path: root/pysnmp/entity/rfc3413/oneliner/auth.py
diff options
context:
space:
mode:
authorelie <elie>2012-08-27 09:38:59 +0000
committerelie <elie>2012-08-27 09:38:59 +0000
commit428177eef2de2061eb8beb76d2695b4b87726955 (patch)
treee55e9077ce523d6308ef90d1ee3177bb43232952 /pysnmp/entity/rfc3413/oneliner/auth.py
parentcec445554d3c962f6402742d18bccb7799f106e3 (diff)
downloadpysnmp-428177eef2de2061eb8beb76d2695b4b87726955.tar.gz
auth & transport configuration objects made non-hashable for
clarity
Diffstat (limited to 'pysnmp/entity/rfc3413/oneliner/auth.py')
-rw-r--r--pysnmp/entity/rfc3413/oneliner/auth.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/pysnmp/entity/rfc3413/oneliner/auth.py b/pysnmp/entity/rfc3413/oneliner/auth.py
index ff2c0af..f3eaaec 100644
--- a/pysnmp/entity/rfc3413/oneliner/auth.py
+++ b/pysnmp/entity/rfc3413/oneliner/auth.py
@@ -37,15 +37,6 @@ class CommunityData:
self.tag
)
- def __hash__(self): return hash(self.securityName)
-
- def __eq__(self, other): return self.securityName == other
- def __ne__(self, other): return self.securityName != other
- def __lt__(self, other): return self.securityName < other
- def __le__(self, other): return self.securityName <= other
- def __gt__(self, other): return self.securityName > other
- def __ge__(self, other): return self.securityName >= other
-
class UsmUserData:
authKey = privKey = None
authProtocol = config.usmNoAuthProtocol
@@ -92,13 +83,3 @@ class UsmUserData:
self.contextEngineId,
self.contextName
)
-
- def __hash__(self): return hash(self.securityName)
-
- def __eq__(self, other): return self.securityName == other
- def __ne__(self, other): return self.securityName != other
- def __lt__(self, other): return self.securityName < other
- def __le__(self, other): return self.securityName <= other
- def __gt__(self, other): return self.securityName > other
- def __ge__(self, other): return self.securityName >= other
-