diff options
author | Doug Hellmann <doug.hellmann@dreamhost.com> | 2014-02-05 12:28:01 -0800 |
---|---|---|
committer | Doug Hellmann <doug.hellmann@dreamhost.com> | 2014-02-05 12:28:01 -0800 |
commit | 3eb741afcd77d2624b619aecc02a9c7267a9487d (patch) | |
tree | 9ac8e389ebf7a0ec134d2f2f82e838ad7c84d22d | |
parent | 44803433a7da66b5e7404806290237469f07fd5d (diff) | |
download | pbr-3eb741afcd77d2624b619aecc02a9c7267a9487d.tar.gz |
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
-rw-r--r-- | pbr/packaging.py | 1 | ||||
-rw-r--r-- | pbr/util.py | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/pbr/packaging.py b/pbr/packaging.py index 5d9dc65..414313c 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 1682b66..8c7c2c9 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. |