summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-11-26 21:28:23 (GMT)
committerFred Drake <fdrake@acm.org>2002-11-26 21:28:23 (GMT)
commit94e7bb7dd67ae72ea1184fa7860c9d4c76acb41b (patch)
treed413868dddb1b20cd08d76b2d7a2dfb5330577e3 /Lib/distutils/command
parentf955412130174e6c2e40f807e2fd12bb6344d2ec (diff)
downloadcpython-94e7bb7dd67ae72ea1184fa7860c9d4c76acb41b.zip
cpython-94e7bb7dd67ae72ea1184fa7860c9d4c76acb41b.tar.gz
cpython-94e7bb7dd67ae72ea1184fa7860c9d4c76acb41b.tar.bz2
Use "is" to test type objects, not "==".
Diffstat (limited to 'Lib/distutils/command')
-rw-r--r--Lib/distutils/command/install_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/install_data.py b/Lib/distutils/command/install_data.py
index 5c1f18a..2fa0da2 100644
--- a/Lib/distutils/command/install_data.py
+++ b/Lib/distutils/command/install_data.py
@@ -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: