aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-10-09 11:39:45 -0400
committerMike Frysinger <vapier@gentoo.org>2015-10-09 11:39:45 -0400
commit23d13a16870b5d3f5064e5ccd8b622b540260516 (patch)
treeaffa5754bb5629f0eb1483ba998b69c083cc655b /catalyst
parentsnapshot: convert to log module (diff)
downloadcatalyst-23d13a16870b5d3f5064e5ccd8b622b540260516.tar.gz
catalyst-23d13a16870b5d3f5064e5ccd8b622b540260516.tar.bz2
catalyst-23d13a16870b5d3f5064e5ccd8b622b540260516.zip
config: convert to log module
Diffstat (limited to 'catalyst')
-rw-r--r--catalyst/config.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/catalyst/config.py b/catalyst/config.py
index ffad9b3a..db81a96e 100644
--- a/catalyst/config.py
+++ b/catalyst/config.py
@@ -1,5 +1,7 @@
import re
+
+from catalyst import log
from catalyst.support import CatalystError
class ParserBase(object):
@@ -98,7 +100,7 @@ class ParserBase(object):
for x in values.keys():
# Delete empty key pairs
if not values[x]:
- print "\n\tWARNING: No value set for key " + x + "...deleting"
+ log.warning('No value set for key "%s"; deleting', x)
del values[x]
self.values = values