diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-05-27 18:12:23 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-05-27 18:12:23 -0400 |
commit | 0d0c2366fc886850efad097131abbb1b9549ba2b (patch) | |
tree | d91dc3ff228daea9750fc56190dca9888f1d28f6 | |
parent | b9e630bdafd0235dfa43d65e0a217d41715ff94e (diff) | |
download | python-setuptools-bitbucket-0d0c2366fc886850efad097131abbb1b9549ba2b.tar.gz |
extract variable for nicer indentation
-rwxr-xr-x | setuptools/command/easy_install.py | 4 |
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 |