2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-23 18:11:15 +00:00

Handling encoded input strings

This commit is contained in:
Juliana Motira 2015-09-24 12:08:17 -03:00
parent 5128a80c79
commit ff213916b6

View File

@ -409,7 +409,7 @@ class InputAttributes(ConfluentMessage):
# as above, use format() to see if string follows
# expression, store value back in case of escapes
tv = nodeattr[attr].format()
nodeattr[attr] = tv
nodeattr[attr] = str(tv)
except (KeyError, IndexError):
# an expression string will error if format() done
# use that as cue to put it into config as an expr