xmlclass : Ensured precedence of newly defined class in case of conflicting declaration
authorEdouard Tisserant
Wed, 02 Apr 2014 21:07:35 +0200
changeset 1405 0b9cd761a356
parent 1404 d4a6c9287e97
child 1406 82db84fe88ea
xmlclass : Ensured precedence of newly defined class in case of conflicting declaration
xmlclass/xmlclass.py
--- a/xmlclass/xmlclass.py	Mon Mar 31 00:27:05 2014 +0200
+++ b/xmlclass/xmlclass.py	Wed Apr 02 21:07:35 2014 +0200
@@ -936,7 +936,7 @@
                 if typeinfos not in parent_class:
                     lookup_classes[parent].append(typeinfos)
             elif parent_class != typeinfos:
-                lookup_classes[parent] = [parent_class, typeinfos]
+                lookup_classes[parent] = [typeinfos, parent_class]
         else:
             lookup_classes[parent] = typeinfos