# HG changeset patch
# User Edouard Tisserant
# Date 1396465655 -7200
# Node ID 0b9cd761a356f176a425776675a6bc2ea8adfcc6
# Parent  d4a6c9287e97b4d596cf939ab579979008abff72
xmlclass : Ensured precedence of newly defined class in case of conflicting declaration

diff -r d4a6c9287e97 -r 0b9cd761a356 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