Added message type list; changed order of values in enum maps
diff --git a/tools/pylibopenflow/pylib/of/pythonize.py b/tools/pylibopenflow/pylib/of/pythonize.py
index 687512b..797860d 100644
--- a/tools/pylibopenflow/pylib/of/pythonize.py
+++ b/tools/pylibopenflow/pylib/of/pythonize.py
@@ -39,7 +39,7 @@
             self.enforced_maps['ofp_header'] = [ ('type','ofp_type_values') ]
         elif GEN_ENUM_DICTIONARY:
             self.enforced_maps['ofp_header'] = \
-                [ ('type','ofp_type_map.values()') ]
+                [ ('type','ofp_type_map.keys()') ]
         
 class pythonizer(cpythonize.pythonizer):
     """Class that pythonize C structures of OpenFlow messages