summaryrefslogtreecommitdiff
path: root/Lib/distutils/command/install_data.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-11-26 21:28:23 +0000
committerFred Drake <fdrake@acm.org>2002-11-26 21:28:23 +0000
commit1c3dde829a818057b108c6945b6689e058b9df99 (patch)
treeb9095f4847ea0bab6d75492874c0042f91edec3e /Lib/distutils/command/install_data.py
parent8fc5fc74340f9702cd4295c2d4eae5689f9e495e (diff)
downloadcpython-1c3dde829a818057b108c6945b6689e058b9df99.tar.gz
Use "is" to test type objects, not "==".
Diffstat (limited to 'Lib/distutils/command/install_data.py')
-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 5c1f18a9f2..2fa0da29fe 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: