Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@sugarlabs.org>2011-03-15 21:16:39 (GMT)
committer Gonzalo Odiard <godiard@sugarlabs.org>2011-03-15 21:16:39 (GMT)
commitb8ec62b4b8236077ccbd5abb22a23e5687010b96 (patch)
tree7157fa2d0a1191edb5702ab3ec15934013d16c17
parente61a1c1b10171a04a6cc9b8759bee78c2a873f8b (diff)
Fix catch off exception in evice backend
-rw-r--r--evinceadapter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/evinceadapter.py b/evinceadapter.py
index 2c5d77b..64b5cb7 100644
--- a/evinceadapter.py
+++ b/evinceadapter.py
@@ -34,7 +34,7 @@ class EvinceViewer():
def load_document(self, file_path):
try:
self._document = evince.document_factory_get_document(file_path)
- except GError, e:
+ except gobject.GError, e:
_logger.error('Can not load document: %s', e)
return
else: