This commit is contained in:
Kovid Goyal 2019-05-27 16:55:13 +05:30
parent b842fe758a
commit 3f03ad698a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -42,7 +42,7 @@ class ConversionOption(object):
return hash(self.name)
def __eq__(self, other):
return self.name == other.name
return self.name == getattr(other, 'name', other)
def clone(self):
return ConversionOption(name=self.name, help=self.help,