Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflavio <fdanesse@gmail.com>2012-12-04 18:37:54 (GMT)
committer flavio <fdanesse@gmail.com>2012-12-04 18:37:54 (GMT)
commit37f968757c016abad6b200a11512e3d616f3394b (patch)
treef00ef6476cb39d622586485049ec6c11ca1fb060
parente393db2c8fdee35ba472d5ce337585e18c29f61a (diff)
Fixmes
-rw-r--r--edit_app.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/edit_app.py b/edit_app.py
index 12360a8..adfc060 100644
--- a/edit_app.py
+++ b/edit_app.py
@@ -176,15 +176,17 @@ class EditActivity(GroupActivity):
fhandle = open(filename, "w")
bounds = self.buffer.get_bounds()
- text = self.buffer.get_text(bounds[0], bounds[1])
-
- fhandle.write(text)
+ # FIXME: TypeError: get_text() takes exactly 4 arguments (3 given)
+ #text = self.buffer.get_text(bounds[0], bounds[1])
+ # FIXME: TypeError: get_text() takes exactly 4 arguments (3 given)
+ #fhandle.write(text)
fhandle.close()
self.fix_mimetype()
#We can do full-text search on all Edit documents, yay
- self.metadata[mdnames.contents_md] = text
+ # FIXME: TypeError: get_text() takes exactly 4 arguments (3 given)
+ #self.metadata[mdnames.contents_md] = text
#If we edit the file in another way, we need to reload the contents
#we fudge the timestamp forwards by 5 seconds