From 3eb741afcd77d2624b619aecc02a9c7267a9487d Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 5 Feb 2014 12:28:01 -0800 Subject: [PATCH] Do not force log verbosity level to info Forcing the log level to info causes pbr to emit status log messages in a way that breaks commands like "python setup.py --maintainer" and "python setup.py --name", which are useful when scripting operations that work on packages. Change-Id: I6607c96e171f2f8efa89bd701018f4af6ec9c15a --- pbr/packaging.py | 1 - pbr/util.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/pbr/packaging.py b/pbr/packaging.py index 5d9dc659..414313c2 100644 --- a/pbr/packaging.py +++ b/pbr/packaging.py @@ -44,7 +44,6 @@ except ImportError: from pbr import extra_files -log.set_verbosity(log.INFO) TRUE_VALUES = ('true', '1', 'yes') REQUIREMENTS_FILES = ('requirements.txt', 'tools/pip-requires') TEST_REQUIREMENTS_FILES = ('test-requirements.txt', 'tools/test-requires') diff --git a/pbr/util.py b/pbr/util.py index 1682b669..8c7c2c90 100644 --- a/pbr/util.py +++ b/pbr/util.py @@ -150,9 +150,6 @@ BOOL_FIELDS = ("use_2to3", "zip_safe", "include_package_data") CSV_FIELDS = ("keywords",) -log.set_verbosity(log.INFO) - - def resolve_name(name): """Resolve a name like ``module.object`` to an object and return it.