Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/edit_app.py
diff options
context:
space:
mode:
authorolpc user <olpc@xo-0d-33-90.localdomain>2010-11-03 16:36:05 (GMT)
committer olpc user <olpc@xo-0d-33-90.localdomain>2010-11-03 16:36:05 (GMT)
commit2fa7fc0b58d085ea0b2643b50189a78ca9885022 (patch)
tree1c44d731f28dbce6264432ac88b99dcd0649b5ed /edit_app.py
parent7fd5c4b4b4128bcea603c5843aa915c2c056418e (diff)
Fixed a SyntaxError
Diffstat (limited to 'edit_app.py')
-rw-r--r--edit_app.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/edit_app.py b/edit_app.py
index e8d1027..e38e6fc 100644
--- a/edit_app.py
+++ b/edit_app.py
@@ -35,7 +35,7 @@ class EditActivity(sugar_tools.GroupActivity):
etime = self.metadata[mdnames.cloudtimestamp_md]
return mtime > etime
- def __init__(self):
+ def __init__(self, handle):
'''We want to set up the buffer et al. early on
sure there's early_setup, but that's not early enough
'''
@@ -48,7 +48,7 @@ class EditActivity(sugar_tools.GroupActivity):
self.scrollwindow.add(self.text_view)
- sugar_tools.GroupActivity.__init__(self)
+ sugar_tools.GroupActivity.__init__(self, handle)
def fix_mimetype(self):
'''We must have a mimetype. Sometimes, we don't (when we get launched