Commit 6f8ae179 authored by Fred Drake's avatar Fred Drake

Use "is" to test type objects, not "==".

parent 56507a08
......@@ -48,7 +48,7 @@ class install_data (Command):
def run (self):
self.mkpath(self.install_dir)
for f in self.data_files:
if type(f) == StringType:
if type(f) is StringType:
# it's a simple file, so copy it
f = convert_path(f)
if self.warn_dir:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment