[entity] fix dumb name error introduced by 3.14 entity refactoring
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 17 Oct 2011 15:08:25 +0200
changeset 7963 059914a691a9
parent 7962 38ce8b8a980f
child 7964 4ea2abc83dce
[entity] fix dumb name error introduced by 3.14 entity refactoring
entity.py
--- a/entity.py	Fri Oct 14 16:42:10 2011 +0200
+++ b/entity.py	Mon Oct 17 15:08:25 2011 +0200
@@ -333,8 +333,8 @@
                             var, order = orderterm.split()
                         except ValueError:
                             if '(' in orderterm:
-                                self.error('ignore %s until %s is upgraded',
-                                           orderterm, cmeth)
+                                cls.error('ignore %s until %s is upgraded',
+                                          orderterm, cmeth)
                                 orderterm = None
                             elif not ' ' in orderterm.strip():
                                 var = orderterm