summaryrefslogtreecommitdiffstats
path: root/Lib/msilib/__init__.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-08-20 16:25:10 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-08-20 16:25:10 (GMT)
commitf1a69c16665c6c031c4723e5bc3e6d6f4118fa5e (patch)
treecf6ab6722fd4419721519ab7cf5f02d1d981a359 /Lib/msilib/__init__.py
parent0da7e03e12abd760085bd7e76df617d69fd94822 (diff)
downloadcpython-f1a69c16665c6c031c4723e5bc3e6d6f4118fa5e.zip
cpython-f1a69c16665c6c031c4723e5bc3e6d6f4118fa5e.tar.gz
cpython-f1a69c16665c6c031c4723e5bc3e6d6f4118fa5e.tar.bz2
Get rid of a bunch more has_key() uses. We *really* need a tool for this.
test_aepack now passes. IDLE still needs to be converted (among others).
Diffstat (limited to 'Lib/msilib/__init__.py')
-rw-r--r--Lib/msilib/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/msilib/__init__.py b/Lib/msilib/__init__.py
index 4be82b0..07053ba 100644
--- a/Lib/msilib/__init__.py
+++ b/Lib/msilib/__init__.py
@@ -326,7 +326,7 @@ class Directory:
file = os.path.basename(file)
absolute = os.path.join(self.absolute, src)
assert not re.search(r'[\?|><:/*]"', file) # restrictions on long names
- if self.keyfiles.has_key(file):
+ if file in self.keyfiles:
logical = self.keyfiles[file]
else:
logical = None