Fix concatenation for with_file

pull/6531/head
James Tanner 11 years ago
parent caa0b02962
commit b14c658532

@ -1023,7 +1023,7 @@ def listify_lookup_plugin_terms(terms, basedir, inject):
# not sure why the "/" is in above code :) # not sure why the "/" is in above code :)
try: try:
new_terms = template.template(basedir, "{{ %s }}" % terms, inject) new_terms = template.template(basedir, "{{ %s }}" % terms, inject)
if isinstance(new_terms, basestring) and "{{" in new_terms.find: if isinstance(new_terms, basestring) and new_terms.find("{{") != -1:
pass pass
else: else:
terms = new_terms terms = new_terms

Loading…
Cancel
Save