-
Committer:
Zygmunt Krynicki
-
Date:
2015-08-26 08:52:09 UTC
-
Revision ID:
zygmunt.krynicki@canonical.com-20150826085209-zm6vz85drj447ibj
Correct all the logging calls to pass arguments directly
This patch patches all of snapcraft to change code like this:
logging.info("bla bla %s" % 'arg')
Into:
logging.info("bla bla %s', 'arg')
This is actually the preferred way to work with logging arguments as it
allows the logging module to interpolate the arguments directly and only
if the actual message is emitted.
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>