diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2013-01-02 02:18:36 +0400 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2013-01-02 02:18:36 +0400 |
commit | d27591076fa0ec8ab046aa805581e88e5c612585 (patch) | |
tree | db3e87a5d18de2d8bf5f22f3b3542cda5af8bd20 /src/profile_window.py | |
parent | 069bddbbcb4d2ba2a4f9c1727e12963ce8e80eab (diff) |
fix exception handling
Diffstat (limited to 'src/profile_window.py')
-rw-r--r-- | src/profile_window.py | 2 |
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 |