Gentoo Archives: gentoo-commits

From: "Paul Varner (fuzzyray)" <fuzzyray@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoolkit r509 - in trunk: . src/glsa-check
Date: Tue, 26 Aug 2008 19:51:38
Message-Id: E1KY4Zi-00009H-2b@stork.gentoo.org
1 Author: fuzzyray
2 Date: 2008-08-26 19:51:33 +0000 (Tue, 26 Aug 2008)
3 New Revision: 509
4
5 Modified:
6 trunk/ChangeLog
7 trunk/src/glsa-check/glsa.py
8 Log:
9 Fix has_key() deprecation message. (Bug #232797)
10
11 Modified: trunk/ChangeLog
12 ===================================================================
13 --- trunk/ChangeLog 2008-08-26 19:46:19 UTC (rev 508)
14 +++ trunk/ChangeLog 2008-08-26 19:51:33 UTC (rev 509)
15 @@ -1,4 +1,5 @@
16 2008-08-26: Paul Varner <fuzzyray@g.o>
17 + * glsa-check: Fix has_key() deprecation message. (Bug #232797)
18 * revdep-rebuild: Update fix for Bug 232270 to utilize better patch
19 from Ian Abbott.
20
21 @@ -6,8 +7,6 @@
22 * gentoolkit: Fix find_packages and find_installed_packages to print
23 a warning instead of a traceback when an InvalidAtom exception occurs.
24 (Bug #234358)
25 -
26 -2008-08-22: Paul Varner <fuzzyray@g.o>
27 * equery: Fix equery belongs to strip multiple slashes from path
28 names. (Bug #234584)
29
30
31 Modified: trunk/src/glsa-check/glsa.py
32 ===================================================================
33 --- trunk/src/glsa-check/glsa.py 2008-08-26 19:46:19 UTC (rev 508)
34 +++ trunk/src/glsa-check/glsa.py 2008-08-26 19:51:33 UTC (rev 509)
35 @@ -122,7 +122,7 @@
36 "PRINTWIDTH": "76"
37 }
38 for k in mysettings.keys():
39 - if not myconfig.has_key(k):
40 + if k not in myconfig:
41 myconfig[k] = mysettings[k]
42 return myconfig