aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trunk/ChangeLog3
-rw-r--r--trunk/src/glsa-check/glsa.py2
2 files changed, 2 insertions, 3 deletions
diff --git a/trunk/ChangeLog b/trunk/ChangeLog
index 1fc3478..b100110 100644
--- a/trunk/ChangeLog
+++ b/trunk/ChangeLog
@@ -1,4 +1,5 @@
2008-08-26: Paul Varner <fuzzyray@gentoo.org>
+ * glsa-check: Fix has_key() deprecation message. (Bug #232797)
* revdep-rebuild: Update fix for Bug 232270 to utilize better patch
from Ian Abbott.
@@ -6,8 +7,6 @@
* gentoolkit: Fix find_packages and find_installed_packages to print
a warning instead of a traceback when an InvalidAtom exception occurs.
(Bug #234358)
-
-2008-08-22: Paul Varner <fuzzyray@gentoo.org>
* equery: Fix equery belongs to strip multiple slashes from path
names. (Bug #234584)
diff --git a/trunk/src/glsa-check/glsa.py b/trunk/src/glsa-check/glsa.py
index 5aeb7fe..4c8f280 100644
--- a/trunk/src/glsa-check/glsa.py
+++ b/trunk/src/glsa-check/glsa.py
@@ -122,7 +122,7 @@ def checkconfig(myconfig):
"PRINTWIDTH": "76"
}
for k in mysettings.keys():
- if not myconfig.has_key(k):
+ if k not in myconfig:
myconfig[k] = mysettings[k]
return myconfig