ezt: remove leftover StringType reference (#31440)

This commit is contained in:
Frédéric Péters 2019-03-15 10:24:53 +01:00 committed by Thomas NOEL
parent 9800638998
commit 45b00ed979
1 changed files with 1 additions and 1 deletions

View File

@ -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 ]