Changeset 3a3cf7ba24de intoduced a name clash

issue4367
review13721002
This commit is contained in:
Nicolas Évrard committed 2014-11-28 11:35:41 +01:00
1 parent f0adfd8a1b
commit fa11256ad4
1 file changed
+2 -2
+2 -2
View File
@@ -42,7 +42,7 @@ _NUMBER_STATES.update({
_NUMBER_DEPENDS = _DEPENDS + ['validation']
class Null(object):
class Unequal(object):
"Always different"
def __eq__(self, other):
@@ -293,7 +293,7 @@ class Statement(Workflow, ModelSQL, ModelView):
def _group_key(self, line):
key = (
('number', line.number or Null()),
('number', line.number or Unequal()),
('date', line.date),
('party', line.party),
)