aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/install_lib.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-09-26 09:54:15 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-09-26 09:54:15 -0400
commit63ddca7cd1011b8d4b1348315c02fe9fd6a404e2 (patch)
tree5cd7e4f353afa002669e8036e382192a1ce46234 /setuptools/command/install_lib.py
parentf883f07459037dc960b7f319d4f265671a0fec88 (diff)
downloadexternal_python_setuptools-63ddca7cd1011b8d4b1348315c02fe9fd6a404e2.tar.gz
external_python_setuptools-63ddca7cd1011b8d4b1348315c02fe9fd6a404e2.tar.bz2
external_python_setuptools-63ddca7cd1011b8d4b1348315c02fe9fd6a404e2.zip
Normalize syntax
Diffstat (limited to 'setuptools/command/install_lib.py')
-rw-r--r--setuptools/command/install_lib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/install_lib.py b/setuptools/command/install_lib.py
index 7692e0f3..c0c271a4 100644
--- a/setuptools/command/install_lib.py
+++ b/setuptools/command/install_lib.py
@@ -17,7 +17,7 @@ class install_lib(orig.install_lib):
svem = (nsp and self.get_finalized_command('install')
.single_version_externally_managed)
exclude_names = ['__init__.py', '__init__.pyc', '__init__.pyo']
- if hasattr(imp, 'get_tag') :
+ if hasattr(imp, 'get_tag'):
exclude_names.extend((
os.path.join(
'__pycache__',
@@ -33,7 +33,7 @@ class install_lib(orig.install_lib):
parts = pkg.split('.')
while parts:
pkgdir = os.path.join(self.install_dir, *parts)
- for f in exclude_names :
+ for f in exclude_names:
exclude[os.path.join(pkgdir, f)] = 1
parts.pop()
return exclude