Ticket #3100: __init__.py.diff

File __init__.py.diff, 992 bytes (added by Eric Van Dewoestine <ervandew@…>, 18 years ago)
Line 
1*** __init__.py.orig Mon Nov 6 17:29:03 2006
2--- __init__.py Mon Nov 6 17:29:08 2006
3***************
4*** 247,253 ****
5 var_node = self.create_variable_node(filter_expression)
6 self.extend_nodelist(nodelist, var_node,token)
7 elif token.token_type == TOKEN_BLOCK:
8! if token.contents in parse_until:
9 # put token back on token list so calling code knows why it terminated
10 self.prepend_token(token)
11 return nodelist
12--- 247,253 ----
13 var_node = self.create_variable_node(filter_expression)
14 self.extend_nodelist(nodelist, var_node,token)
15 elif token.token_type == TOKEN_BLOCK:
16! if token.contents.split()[0] in parse_until:
17 # put token back on token list so calling code knows why it terminated
18 self.prepend_token(token)
19 return nodelist
Back to Top