From: Eduardo Habkost <ehabkost@xxxxxxxxxxx> If the whole purpose of running kvm_config.py directly is to print the dictionary contents, it is better to simply dump the information to stdout instead of adding the logginging info and timestamp clutter to every single line. Signed-off-by: Eduardo Habkost <ehabkost@xxxxxxxxxxx> --- client/tests/kvm/kvm_config.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/tests/kvm/kvm_config.py b/client/tests/kvm/kvm_config.py index 45d8fe6..5be2e66 100755 --- a/client/tests/kvm/kvm_config.py +++ b/client/tests/kvm/kvm_config.py @@ -695,8 +695,8 @@ if __name__ == "__main__": cfg.parse_file(fn) dicts = cfg.get_generator() for i, dict in enumerate(dicts): - logging.info("Dictionary #%d:", i) + print "Dictionary #%d:" % (i) keys = dict.keys() keys.sort() for key in keys: - logging.info(" %s = %s", key, dict[key]) + print " %s = %s" % (key, dict[key]) -- 1.7.3.2 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html