Skip to content
Myr

[svn] iteration over None does not raise exceptions any more. "fixes" #217

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent a90948c · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:jinja/datastructure.py+2 added
199 unmodified lines
200 if seq is not None:201 self.push(seq)202203 def push(self, seq):204 if seq in (Undefined, None):205 seq = ()206 self._stack.append({207 'index': -1,208 'seq': seq,209 'length': len(seq)
112 unmodified lines