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