Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sourceview_editor.py
diff options
context:
space:
mode:
authorolpc user <olpc@localhost.localdomain>2010-03-05 00:18:03 (GMT)
committer olpc user <olpc@localhost.localdomain>2010-03-05 00:18:03 (GMT)
commit44d457039c07bfefa6276f417ec92ad872bd67a0 (patch)
treeb523ca1e8c5dba732e9ddb977b5393492f99a864 /sourceview_editor.py
parentdd753af4406d3a714dddd0048b536a4fa4f3704a (diff)
build 802 help works
Diffstat (limited to 'sourceview_editor.py')
-rw-r--r--sourceview_editor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sourceview_editor.py b/sourceview_editor.py
index 0ecd004..92ca4e4 100644
--- a/sourceview_editor.py
+++ b/sourceview_editor.py
@@ -535,8 +535,8 @@ class GtkSourceview2Page(SearchablePage):
self.text_buffer.set_modified(False)
msg = _("File saved: %s md5sumn:%s"%(os.path.basename(self.fullPath),self.md5sum))
_logger.debug(msg)
- except IOError as (errno, strerror):
- msg = _("I/O error({0}): {1}".format(errno, strerror))
+ except IOError:
+ msg = _("I/O error(%s): %s"%(IOError[0], IOError[1]))
self.activity.alert(msg)
except:
msg = "Unexpected error:", sys.exc_info()[0]