Commit d4bd9c8f authored by rossp's avatar rossp

Fix verbose option handling of debug logging message


git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@81245 62d5b8a3-27da-0310-9561-8e5933582275
parent 2ba9d0b2
......@@ -812,7 +812,7 @@ def develop(setup, dest,
del args[1]
else:
args[1] == '-v'
if logger.getEffectiveLevel < logging.DEBUG:
if log_level < logging.DEBUG:
logger.debug("in: %r\n%s", directory, ' '.join(args))
assert os.spawnl(os.P_WAIT, executable, executable, *args) == 0
......
......@@ -82,6 +82,13 @@ We should be able to deal with setup scripts that aren't setuptools based.
- foo.egg-link
- zc.recipe.egg.egg-link
>>> print system(join('bin', 'buildout')+' -vvv'), # doctest: +ELLIPSIS
Installing...
Develop: '/sample-buildout/foo'
in: '/sample-buildout/foo'
... -q develop -mxN -d /sample-buildout/develop-eggs/...
"""
def buildout_error_handling():
......
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