Commit 63c5a0ec authored by Nicolas Dumazet's avatar Nicolas Dumazet

remove non-ascii character causing a DeprecationWarning


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30706 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8ecb76da
...@@ -56,7 +56,7 @@ class PropertyGetter: ...@@ -56,7 +56,7 @@ class PropertyGetter:
def __float__(self): def __float__(self):
return float(self.value) return float(self.value)
# following methods are used for < > == ! , etc # following methods are used for < > == != , etc
def __eq__(self, other): def __eq__(self, other):
return int(self.value) == int(other) return int(self.value) == int(other)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment