summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-05-27 18:12:23 -0400
committerJason R. Coombs <jaraco@jaraco.com>2015-05-27 18:12:23 -0400
commit0d0c2366fc886850efad097131abbb1b9549ba2b (patch)
treed91dc3ff228daea9750fc56190dca9888f1d28f6
parentb9e630bdafd0235dfa43d65e0a217d41715ff94e (diff)
downloadpython-setuptools-bitbucket-0d0c2366fc886850efad097131abbb1b9549ba2b.tar.gz
extract variable for nicer indentation
-rwxr-xr-xsetuptools/command/easy_install.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 74803b59..515c89d5 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -2024,8 +2024,8 @@ class ScriptWriter(object):
group = type_ + '_scripts'
for name, ep in dist.get_entry_map(group).items():
script_text = cls.template % locals()
- for res in cls._get_script_args(type_, name, header,
- script_text):
+ args = cls._get_script_args(type_, name, header, script_text)
+ for res in args:
yield res
@classmethod