Quantcast
Channel: Mako: Ticket Query
Viewing all articles
Browse latest Browse all 38

#195: Control statements don't follow line-wrapping rules

$
0
0
% for item in [
        'some',
        'long',
        'list',
        'of',
        'items',
    ]:
    ${item}
% endfor

Produces:

CompileException: Fragment 'for item in [' is not a partial control statement in file...

Adding backslashes to the end of every line works, but normal Python wrapping ought to apply here.


Viewing all articles
Browse latest Browse all 38

Trending Articles