Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar
diff options
context:
space:
mode:
authorMike C. Fletcher <mcfletch@raistlin.(none)>2007-04-15 04:35:49 (GMT)
committer Mike C. Fletcher <mcfletch@raistlin.(none)>2007-04-15 04:35:49 (GMT)
commite571b3bff9b834c099bc82be5e20305d9dfb9730 (patch)
tree11fa7a34397e6dc930d28f222852097191fb9583 /sugar
parent8635a702c64f087473a1c2243bcc895bcbd8b0c4 (diff)
Fix a few syntax errors so that compileall can process the module
Diffstat (limited to 'sugar')
-rw-r--r--sugar/objects/typeregistry.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sugar/objects/typeregistry.py b/sugar/objects/typeregistry.py
index 342c50e..8d24b39 100644
--- a/sugar/objects/typeregistry.py
+++ b/sugar/objects/typeregistry.py
@@ -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