ezt: remove leftover StringType reference (#31440)
This commit is contained in:
parent
9800638998
commit
45b00ed979
|
@ -555,7 +555,7 @@ class Template:
|
|||
list = _get_value(valref, ctx)
|
||||
except UnknownReference:
|
||||
return
|
||||
if isinstance(list, StringType):
|
||||
if isinstance(list, basestring):
|
||||
raise NeedSequenceError()
|
||||
refname = valref[0]
|
||||
ctx.for_index[refname] = idx = [ list, 0 ]
|
||||
|
|
Loading…
Reference in New Issue