diff options
author | Priit Laes <plaes@plaes.org> | 2010-02-26 09:13:56 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2010-02-26 11:09:32 +0200 |
commit | 6b5e237f0b728d4a507ba0e1bec07df869176127 (patch) | |
tree | f36530887f3ca62676f5f8320e36330afeedb1b5 /modules | |
parent | Fix pixman versioning detection. (diff) | |
download | gentoo-bumpchecker-6b5e237f0b728d4a507ba0e1bec07df869176127.tar.gz gentoo-bumpchecker-6b5e237f0b728d4a507ba0e1bec07df869176127.tar.bz2 gentoo-bumpchecker-6b5e237f0b728d4a507ba0e1bec07df869176127.zip |
Fix error display by using correct exception.
String exceptions have been deprecated a long time ago.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gnome_module.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gnome_module.py b/modules/gnome_module.py index c9d498b..85ec28b 100644 --- a/modules/gnome_module.py +++ b/modules/gnome_module.py @@ -38,7 +38,7 @@ class GNOME: try: f = urllib2.urlopen(url) except: - raise "Couldn't open", url + raise ValueError("Couldn't open %s" % url) ret = [] for line in f.readlines(): |