comparison failed
This commit is contained in:
@ -375,8 +375,10 @@ class Config(object):
|
||||
|
||||
def __eq__(self, other):
|
||||
"Config comparison"
|
||||
if not isinstance(other, OptionDescription):
|
||||
if not isinstance(other, Config):
|
||||
return False
|
||||
print self.getkey()
|
||||
print other.getkey()
|
||||
return self.getkey() == other.getkey()
|
||||
|
||||
def __ne__(self, other):
|
||||
|
Reference in New Issue
Block a user