summaryrefslogtreecommitdiff
path: root/setuptools/sandbox.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-07-20 11:13:16 -0400
committerGitHub <noreply@github.com>2016-07-20 11:13:16 -0400
commitadd487b9f51571a85bc7597ac3835d29bc5c2504 (patch)
tree5a25cf299c6c383b2c6b4d8e514f6cfc0f384030 /setuptools/sandbox.py
parent80a2ff9e3055e216a5238e81a6933f6a342b17fb (diff)
parentdc2d1dc249bec8e3a864e2aa6002a8e27adc4b7c (diff)
downloadpython-setuptools-git-add487b9f51571a85bc7597ac3835d29bc5c2504.tar.gz
Merge pull request #635 from stepshal/operators
Fix missing whitespace around operator.
Diffstat (limited to 'setuptools/sandbox.py')
-rwxr-xr-xsetuptools/sandbox.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/sandbox.py b/setuptools/sandbox.py
index c6bab096..5ed45f84 100755
--- a/setuptools/sandbox.py
+++ b/setuptools/sandbox.py
@@ -234,7 +234,7 @@ def run_setup(setup_script, args):
setup_dir = os.path.abspath(os.path.dirname(setup_script))
with setup_context(setup_dir):
try:
- sys.argv[:] = [setup_script]+list(args)
+ sys.argv[:] = [setup_script] + list(args)
sys.path.insert(0, setup_dir)
# reset to include setup dir, w/clean callback list
working_set.__init__()
@@ -353,8 +353,8 @@ class AbstractSandbox:
def _remap_pair(self, operation, src, dst, *args, **kw):
"""Called for path pairs like rename, link, and symlink operations"""
return (
- self._remap_input(operation+'-from', src, *args, **kw),
- self._remap_input(operation+'-to', dst, *args, **kw)
+ self._remap_input(operation + '-from', src, *args, **kw),
+ self._remap_input(operation + '-to', dst, *args, **kw)
)