Complete refactoring to allow out of order document, document file or metadata creation

This commit is contained in:
Roberto Rosario
2011-02-05 21:00:23 -04:00
parent 52b0da385e
commit d8d8c75a28
9 changed files with 193 additions and 57 deletions

View File

@@ -195,7 +195,9 @@ def resolve_template_variable(context, name):
try:
return unescape_string_literal(name)
except ValueError:
return Variable(name).resolve(context)
#return Variable(name).resolve(context)
#Research if should return always as a str
return str(Variable(name).resolve(context))
except TypeError:
return name