aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstepshal <nessento@openmailbox.org>2016-07-21 10:17:11 +0700
committerstepshal <nessento@openmailbox.org>2016-07-22 00:26:14 +0700
commit7f118aaae6a49171a91248cc413dc78eb497a054 (patch)
tree7cecddd2264a2dadc52f0b4125ddb12ac0bac714
parentfd3ff004cd3570460a079de785846f54ae1ee36f (diff)
downloadexternal_python_setuptools-7f118aaae6a49171a91248cc413dc78eb497a054.tar.gz
external_python_setuptools-7f118aaae6a49171a91248cc413dc78eb497a054.tar.bz2
external_python_setuptools-7f118aaae6a49171a91248cc413dc78eb497a054.zip
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 0a192553..c539f6ef 100644
--- a/setuptools/dist.py
+++ b/setuptools/dist.py
@@ -542,19 +542,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):