Merge "Correct LOG.warning in persistence utils"

This commit is contained in:
Jenkins 2014-03-10 17:25:29 +00:00 committed by Gerrit Code Review
commit a6930eb537

View File

@ -67,7 +67,7 @@ def create_flow_detail(flow, book=None, backend=None, meta=None):
flow_id = uuidutils.generate_uuid()
flow_name = getattr(flow, 'name', None)
if flow_name is None:
LOG.warn("No name provided for flow %s (id %s)" % (flow, flow_id))
LOG.warn("No name provided for flow %s (id %s)", flow, flow_id)
flow_name = flow_id
flow_detail = logbook.FlowDetail(name=flow_name, uuid=flow_id)