mirror of https://github.com/kivy/kivy.git
handle LooseVersion == str comparisons in py3
This commit is contained in:
parent
d62d8f1807
commit
55389c45f8
2
setup.py
2
setup.py
|
@ -24,7 +24,7 @@ else:
|
||||||
|
|
||||||
if PY3: # fix error with py3's LooseVersion comparisons
|
if PY3: # fix error with py3's LooseVersion comparisons
|
||||||
def ver_equal(self, other):
|
def ver_equal(self, other):
|
||||||
return self.version == other.version
|
return self.version == other
|
||||||
|
|
||||||
LooseVersion.__eq__ = ver_equal
|
LooseVersion.__eq__ = ver_equal
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue