Commit 77a03623 authored by jim's avatar jim

Cleaned up some unused imports and long lines.


git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@103235 62d5b8a3-27da-0310-9561-8e5933582275
parent 5be34ab6
...@@ -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