fix naming to avoid errors... tls-sprint
authorsylvain.thenault@logilab.fr
Tue, 12 May 2009 16:29:52 +0200
branchtls-sprint
changeset 1744 056ed8fca8d3
parent 1743 591cff8f0701
child 1745 7e7f04d19a98
fix naming to avoid errors...
rtags.py
--- a/rtags.py	Tue May 12 16:27:23 2009 +0200
+++ b/rtags.py	Tue May 12 16:29:52 2009 +0200
@@ -61,10 +61,10 @@
                 for rschema, tschemas, role in eschema.relation_definitions(True):
                     for tschema in tschemas:
                         if role == 'subject':
-                            stype, otype = eschema, tschema
+                            sschema, oschema = eschema, tschema
                         else:
-                            stype, otype = tschema, eschema
-                        self._initfunc(self, stype, rtype, otype, role)
+                            sschema, oschema = tschema, eschema
+                        self._initfunc(self, sschema, rschema, oschema, role)
 
     # rtag declaration api ####################################################