diff options
author | Petr Šplíchal <psplicha@redhat.com> | 2011-10-08 20:33:36 +0200 |
---|---|---|
committer | Petr Šplíchal <psplicha@redhat.com> | 2011-10-08 20:33:36 +0200 |
commit | 4655cdc3bae00bd6dbcb201d49b22dd09ad597d1 (patch) | |
tree | ee923fa60e406a06c605b79c9e23e2e39483a26e | |
parent | cf87e057f9281b0d003c74c756b03f0e855aed5e (diff) | |
download | python-nitrate-4655cdc3bae00bd6dbcb201d49b22dd09ad597d1.tar.gz python-nitrate-4655cdc3bae00bd6dbcb201d49b22dd09ad597d1.tar.xz python-nitrate-4655cdc3bae00bd6dbcb201d49b22dd09ad597d1.zip |
Nitrate: Coloring & caching info belongs to the debug level
-rw-r--r-- | Nitrate.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -169,7 +169,7 @@ def setCacheLevel(level=None): _cache = level else: raise NitrateError("Invalid cache level '{0}'".format(level)) - log.info("Caching on level {0}".format(_cache)) + log.debug("Caching on level {0}".format(_cache)) setCacheLevel() @@ -212,7 +212,7 @@ def setColorMode(mode=None): _color = sys.stdout.isatty() else: _color = mode == 1 - log.info("Coloring {0}".format(_color and "enabled" or "disabled")) + log.debug("Coloring {0}".format(_color and "enabled" or "disabled")) def color(text, color=None, background=None, light=False): """ Return text in desired color if coloring enabled. """ |