Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2013-01-02 02:18:36 +0400
committerYann Leboulanger <asterix@lagaule.org>2013-01-02 02:18:36 +0400
commitd27591076fa0ec8ab046aa805581e88e5c612585 (patch)
treedb3e87a5d18de2d8bf5f22f3b3542cda5af8bd20 /src/profile_window.py
parent069bddbbcb4d2ba2a4f9c1727e12963ce8e80eab (diff)
fix exception handling
Diffstat (limited to 'src/profile_window.py')
-rw-r--r--src/profile_window.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profile_window.py b/src/profile_window.py
index 04d596294..614af3add 100644
--- a/src/profile_window.py
+++ b/src/profile_window.py
@@ -139,7 +139,7 @@ class ProfileWindow:
# and hope that user did not specify in ACE crazy size
scaled_pixbuf = gtkgui_helpers.get_scaled_pixbuf(pixbuf,
'tooltip')
- except GObject.GError, msg: # unknown format
+ except GObject.GError as msg: # unknown format
# msg should be string, not object instance
msg = str(msg)
invalid_file = True