Commit b14c6585 by James Tanner

Fix concatenation for with_file

parent caa0b029
...@@ -1023,7 +1023,7 @@ def listify_lookup_plugin_terms(terms, basedir, inject): ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment