objdictgen/nodemanager.py
changeset 59 3a553c789116
parent 39 3e94ee906bc6
child 63 2be18e405e40
--- a/objdictgen/nodemanager.py	Wed Dec 13 16:22:09 2006 +0100
+++ b/objdictgen/nodemanager.py	Wed Dec 13 18:48:01 2006 +0100
@@ -1119,12 +1119,10 @@
                         result = type_model.match(dic["type"])
                         if result:
                             values = result.groups()
-                            if values[0] == "INTEGER":
+                            if values[0] in ["INTEGER", "UNSIGNED"]:
                                 format = "0x%0" + str(int(values[1])/4) + "X"
                                 dic["value"] = format%dic["value"]
                                 editor["value"] = "string"
-                            elif values[0] == "UNSIGNED":
-                                editor["value"] = "number"
                             elif values[0] == "REAL":
                                 editor["value"] = "float"
                             elif values[0] == "VISIBLE_STRING":