Convert ints to strings when using file.append in sls file

This commit is contained in:
rallytime 2014-05-09 12:05:21 -06:00
parent 991a659961
commit e726791efc

View File

@ -2565,6 +2565,10 @@ def append(name,
return tmpret
text = tmpret['data']
for item in range(len(text)):
if isinstance(item, integer_types):
text[item] = str(text[item])
if isinstance(text, string_types):
text = (text,)