inversion in buildout modes

This commit is contained in:
Mathieu Le Marec - Pasquet 2013-12-17 03:05:00 +01:00
parent 2b28bbfc02
commit c6d8843835

View File

@ -753,9 +753,10 @@ def run_buildout(directory='.',
if verbose: if verbose:
LOG.debug(u'Buildout is running in verbose mode!') LOG.debug(u'Buildout is running in verbose mode!')
argv.append('-vvvvvvv') argv.append('-vvvvvvv')
if newest and not os.path.exists(installed_cfg): if not newest and os.path.exists(installed_cfg):
LOG.debug(u'Buildout is running in non newest mode!')
argv.append('-N') argv.append('-N')
else: if newest:
LOG.debug(u'Buildout is running in newest mode!') LOG.debug(u'Buildout is running in newest mode!')
argv.append('-n') argv.append('-n')
if offline: if offline: