Bug reported by Dean corrected
authorlbessard
Wed, 10 Jan 2007 17:42:34 +0100
changeset 64 c72dd78e547f
parent 63 2be18e405e40
child 65 94c820522994
Bug reported by Dean corrected
objdictgen/gen_cfile.py
objdictgen/node.py
--- a/objdictgen/gen_cfile.py	Wed Jan 03 10:33:55 2007 +0100
+++ b/objdictgen/gen_cfile.py	Wed Jan 10 17:42:34 2007 +0100
@@ -415,8 +415,8 @@
     fileContent += """
 //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 //
-//                       OBJECT DICTIONARY
-//                   
+//                             OBJECT DICTIONARY
+//
 //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 """%texts
     contentlist = indexContents.keys()
--- a/objdictgen/node.py	Wed Jan 03 10:33:55 2007 +0100
+++ b/objdictgen/node.py	Wed Jan 10 17:42:34 2007 +0100
@@ -493,7 +493,7 @@
             elif type(self.Dictionary[index]) == ListType and 0 <= subIndex <= len(self.Dictionary[index]):
                 result = DefaultParams.copy()
                 if index in self.ParamsDictionary and subIndex in self.ParamsDictionary[index]:
-                    result.update(self.Dictionary[index][subIndex])
+                    result.update(self.ParamsDictionary[index][subIndex])
                 return result
         return None