From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QNr4H-0000s2-W8 for garchives@archives.gentoo.org; Sat, 21 May 2011 18:38:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F8521C002; Sat, 21 May 2011 18:38:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CFB771C002 for ; Sat, 21 May 2011 18:38:22 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5B7181B401D for ; Sat, 21 May 2011 18:38:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id C05658001F for ; Sat, 21 May 2011 18:38:21 +0000 (UTC) From: "Nirbheek Chauhan" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nirbheek Chauhan" Message-ID: <4d25e454daa3bd1925b10e73a9d18f63f355e376.nirbheek@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: scripts/ X-VCS-Repository: proj/gnome X-VCS-Files: scripts/slot_rindex.py X-VCS-Directories: scripts/ X-VCS-Committer: nirbheek X-VCS-Committer-Name: Nirbheek Chauhan X-VCS-Revision: 4d25e454daa3bd1925b10e73a9d18f63f355e376 Date: Sat, 21 May 2011 18:38:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 013f4f397a1b1947be3b90b57f312fc2 commit: 4d25e454daa3bd1925b10e73a9d18f63f355e376 Author: Nirbheek Chauhan gentoo org> AuthorDate: Sat May 21 18:38:02 2011 +0000 Commit: Nirbheek Chauhan gentoo org> CommitDate: Sat May 21 18:38:02 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gnome.git;a=3D= commit;h=3D4d25e454 slot_rindex.py: use newstyle exception handling --- scripts/slot_rindex.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/slot_rindex.py b/scripts/slot_rindex.py index 9816942..9098db8 100755 --- a/scripts/slot_rindex.py +++ b/scripts/slot_rindex.py @@ -153,7 +153,7 @@ def get_revdeps_rindex(key): revdeps =3D set() try: rdeps_raw =3D urllib2.urlopen('/'.join([RINDEX, key])).read().sp= lit() - except urllib2.HTTPError as e: + except urllib2.HTTPError, e: if e.getcode() =3D=3D 404: return revdeps raise