aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-07-21 19:51:10 -0400
committerGitHub <noreply@github.com>2016-07-21 19:51:10 -0400
commit0cd550a81c1e18d6bed0830a16dd9f1a37058aaf (patch)
treeb4d6bfed57580938d8fb1a14c3574d4db284a890
parente8d8a79224dd0e3b2af8a1f5708b06cc62e2b61a (diff)
parent7f118aaae6a49171a91248cc413dc78eb497a054 (diff)
downloadexternal_python_setuptools-0cd550a81c1e18d6bed0830a16dd9f1a37058aaf.tar.gz
external_python_setuptools-0cd550a81c1e18d6bed0830a16dd9f1a37058aaf.tar.bz2
external_python_setuptools-0cd550a81c1e18d6bed0830a16dd9f1a37058aaf.zip
Merge pull request #663 from stepshal/unaligned
Fix continuation line unaligned for hanging indent.
-rw-r--r--setuptools/dist.py6
-rwxr-xr-xsetuptools/sandbox.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/setuptools/dist.py b/setuptools/dist.py
index 59a5ecf2..820df6d5 100644
--- a/setuptools/dist.py
+++ b/setuptools/dist.py
@@ -577,19 +577,19 @@ class Distribution(_Distribution):
if self.packages:
self.packages = [
p for p in self.packages
- if p != package and not p.startswith(pfx)
+ if p != package and not p.startswith(pfx)
]
if self.py_modules:
self.py_modules = [
p for p in self.py_modules
- if p != package and not p.startswith(pfx)
+ if p != package and not p.startswith(pfx)
]
if self.ext_modules:
self.ext_modules = [
p for p in self.ext_modules
- if p.name != package and not p.name.startswith(pfx)
+ if p.name != package and not p.name.startswith(pfx)
]
def has_contents_for(self, package):
diff --git a/setuptools/sandbox.py b/setuptools/sandbox.py
index df630d3e..2babb636 100755
--- a/setuptools/sandbox.py
+++ b/setuptools/sandbox.py
@@ -258,7 +258,7 @@ class AbstractSandbox:
def __init__(self):
self._attrs = [
name for name in dir(_os)
- if not name.startswith('_') and hasattr(self, name)
+ if not name.startswith('_') and hasattr(self, name)
]
def _copy(self, source):