Fix passing incorrect args to logging

Change I7b1cd98aeb3bb8f4f01dd1d69d1afcd839749074 removed
the % from the logging call without removing the parenthesis.
This patch fix that.

Change-Id: Ifb2f85c6cce5e074bed327d47dcacd509aa2dafe
This commit is contained in:
Moshe Levi 2016-11-18 14:51:25 +02:00 committed by octopuszhang
parent 59cf107e17
commit 3cdaf0d6db

View File

@ -511,7 +511,7 @@ def find_node(**attributes):
value = [value]
LOG.debug('Trying to use %s of value %s for node look up',
(name, value))
name, value)
value_list = []
for v in value:
value_list.append("name='%s' AND value='%s'" % (name, v))