Use format method instead of old style %.
From what I have read using format is a prefered and more powerful method. http://stackoverflow.com/questions/5082452/python-string-formatting-vs-format
This commit is contained in:
parent
8fb8a77dca
commit
925e4ced0a
|
@ -65,7 +65,7 @@ def create_ci():
|
|||
|
||||
# Now do a "broadcast" get to all our drivers
|
||||
for driver in config.alexandria.drivers:
|
||||
app.logger.info("Get information from %s driver." % driver.get_driver_type())
|
||||
app.logger.info("Get information from {} driver.".format(driver.get_driver_type()))
|
||||
driver.get_ci(ci)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue