summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2011-05-22 00:08:02 +0530
committerNirbheek Chauhan <nirbheek@gentoo.org>2011-05-22 00:08:02 +0530
commit4d25e454daa3bd1925b10e73a9d18f63f355e376 (patch)
tree7ec3496efdef72a362847fc31009c925c185b448 /scripts
parentgnome-base/gnome-shell: add important patches from gnome-shell trunk (diff)
downloadgnome-4d25e454daa3bd1925b10e73a9d18f63f355e376.tar.gz
gnome-4d25e454daa3bd1925b10e73a9d18f63f355e376.tar.bz2
gnome-4d25e454daa3bd1925b10e73a9d18f63f355e376.zip
slot_rindex.py: use newstyle exception handling
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/slot_rindex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/slot_rindex.py b/scripts/slot_rindex.py
index 98169422..9098db85 100755
--- a/scripts/slot_rindex.py
+++ b/scripts/slot_rindex.py
@@ -153,7 +153,7 @@ def get_revdeps_rindex(key):
revdeps = set()
try:
rdeps_raw = urllib2.urlopen('/'.join([RINDEX, key])).read().split()
- except urllib2.HTTPError as e:
+ except urllib2.HTTPError, e:
if e.getcode() == 404:
return revdeps
raise