Commits

Anonymous committed 95673fd

Fix for waffle distribution.

  • Participants
  • Parent commits 74089e4
  • Branches py3

Comments (0)

Files changed (1)

rpg_lib/yaml/representer.py

             #self.represented_objects[alias_key] = None
             self.object_keeper.append(data)
         data_types = type(data).__mro__
-        if type(data) is types.InstanceType:
-            data_types = self.get_classobj_bases(data.__class__)+list(data_types)
+#        if type(data) is types.InstanceType:
+#            data_types = self.get_classobj_bases(data.__class__)+list(data_types)
         if data_types[0] in self.yaml_representers:
             node = self.yaml_representers[data_types[0]](self, data)
         else:
 Representer.add_representer(types.ModuleType,
         Representer.represent_module)
 
-Representer.add_multi_representer(types.InstanceType,
-        Representer.represent_instance)
+#Representer.add_multi_representer(types.InstanceType,
+#        Representer.represent_instance)
 
 Representer.add_multi_representer(object,
         Representer.represent_object)