From 09eb31799611a7ed979a800947d65ea0c6adea01 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Thu, 26 Feb 2015 12:56:13 -0500 Subject: [PATCH] Remove redundant hashing functions for MLSCategory and MLSSensitivity. --- setools/policyrep/mls.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/setools/policyrep/mls.py b/setools/policyrep/mls.py index 50e00c7..9ba89a2 100644 --- a/setools/policyrep/mls.py +++ b/setools/policyrep/mls.py @@ -192,9 +192,6 @@ class MLSCategory(symbol.PolicySymbol): """An MLS category.""" - def __hash__(self): - return hash(self._value) - @property def _value(self): """ @@ -222,9 +219,6 @@ class MLSSensitivity(symbol.PolicySymbol): """An MLS sensitivity""" - def __hash__(self): - return hash(self._value) - def __eq__(self, other): try: return (self._value == other._value)