aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/glsa-check/glsa.py')
-rw-r--r--trunk/src/glsa-check/glsa.py2
1 files changed, 1 insertions, 1 deletions
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