Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix continuation line unaligned for hanging indent. #663

Merged
merged 1 commit into from Jul 21, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions setuptools/dist.py
Expand Up @@ -542,19 +542,19 @@ def exclude_package(self, package):
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):
Expand Down
2 changes: 1 addition & 1 deletion setuptools/sandbox.py
Expand Up @@ -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):
Expand Down