Commit 4135c65e authored by Jim Fulton's avatar Jim Fulton

Cleaned up some unused imports and long lines.

parent 37923d03
...@@ -12,17 +12,13 @@ ...@@ -12,17 +12,13 @@
# #
############################################################################## ##############################################################################
"""Buildout main script """Buildout main script
$Id$
""" """
import distutils.errors import distutils.errors
import logging import logging
import os import os
import pprint
import re import re
import shutil import shutil
import cStringIO
import sys import sys
import tempfile import tempfile
import ConfigParser import ConfigParser
...@@ -929,10 +925,13 @@ class Buildout(UserDict.DictMixin): ...@@ -929,10 +925,13 @@ class Buildout(UserDict.DictMixin):
arg_list = list() arg_list = list()
for a in args: for a in args:
add_args.append(zc.buildout.easy_install._safe_arg(a)) arg_list.append(zc.buildout.easy_install._safe_arg(a))
subprocess.Popen([zc.buildout.easy_install._safe_arg(sys.executable)] + list(tsetup) + subprocess.Popen(
arg_list).wait() [zc.buildout.easy_install._safe_arg(sys.executable)]
+ list(tsetup)
+ arg_list
).wait()
else: else:
os.spawnl(os.P_WAIT, sys.executable, zc.buildout.easy_install._safe_arg (sys.executable), tsetup, os.spawnl(os.P_WAIT, sys.executable, zc.buildout.easy_install._safe_arg (sys.executable), tsetup,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment