diff options
author | Fred Drake <fdrake@acm.org> | 2002-11-26 21:28:23 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-11-26 21:28:23 +0000 |
commit | 1c3dde829a818057b108c6945b6689e058b9df99 (patch) | |
tree | b9095f4847ea0bab6d75492874c0042f91edec3e /Lib/distutils/command/install_data.py | |
parent | 8fc5fc74340f9702cd4295c2d4eae5689f9e495e (diff) | |
download | cpython-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.py | 2 |
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: |