summaryrefslogtreecommitdiff
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
commitfc7d696c5a6af1aefa7daf9131893b5b5065cdb0 (patch)
treeaaa76fd7c574aca15622a7fe8deaf3b4e4537b9f
parent3c293d068d446d37f937fbb09ce01265c35eefc0 (diff)
downloadpython-setuptools-bitbucket-fc7d696c5a6af1aefa7daf9131893b5b5065cdb0.tar.gz
Normalize syntax
-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