Show More
@@ -135,7 +135,11 b' class templater(object):' | |||||
135 | fl = m.group(4) |
|
135 | fl = m.group(4) | |
136 |
|
136 | |||
137 | if format: |
|
137 | if format: | |
138 |
|
|
138 | try: | |
|
139 | q = v.__iter__ | |||
|
140 | except AttributeError: | |||
|
141 | raise SyntaxError(_("Error expanding '%s%s'") | |||
|
142 | % (key, format)) | |||
139 | for i in q(): |
|
143 | for i in q(): | |
140 | lm.update(i) |
|
144 | lm.update(i) | |
141 | yield self(format[1:], **lm) |
|
145 | yield self(format[1:], **lm) |
General Comments 0
You need to be logged in to leave comments.
Login now