Remove redundant hashing functions for MLSCategory and MLSSensitivity.

This commit is contained in:
Chris PeBenito 2015-02-26 12:56:13 -05:00
parent 59c74167f2
commit 09eb317996

View File

@ -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)