Fix a few syntax errors so that compileall can process the module

This commit is contained in:
Mike C. Fletcher 2007-04-15 00:35:49 -04:00
parent 8635a702c6
commit e571b3bff9

View File

@ -40,7 +40,7 @@ class _RootNode(_TypeNode):
_TypeNode.__init__('')
def append_primitive(self, info_dict):
self.append(TypeInfo(info_dict)
self.append(TypeInfo(info_dict))
class _TypeNode(list):
def __init__(self, type_info):
@ -85,10 +85,10 @@ class TypeRegistry(object):
for section in cp.sections():
type_info = TypeInfo()
if type_info.read_from_config(section, items, l_items)
if type_info.read_from_config(section, items, l_items):
parent_node = self._tree.get_node_from_type(type_info.parent)
if parent_node:
parent_node.append(_TypeNode(type_info)
parent_node.append(_TypeNode(type_info))
return True
return False