minor fix in parse_as_rest
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.4.1-alpha.2+timestamp.2013.01.13.13.07.43
|
Version 2.4.1-alpha.2+timestamp.2013.01.13.13.14.47
|
||||||
|
|||||||
@@ -7273,6 +7273,8 @@ def index():
|
|||||||
i = 0
|
i = 0
|
||||||
while i<len(patterns):
|
while i<len(patterns):
|
||||||
pattern = patterns[i]
|
pattern = patterns[i]
|
||||||
|
if not isinstance(pattern,str):
|
||||||
|
pattern = pattern[0]
|
||||||
tokens = pattern.split('/')
|
tokens = pattern.split('/')
|
||||||
if tokens[-1].startswith(':auto') and re2.match(tokens[-1]):
|
if tokens[-1].startswith(':auto') and re2.match(tokens[-1]):
|
||||||
new_patterns = auto_table(tokens[-1][tokens[-1].find('[')+1:-1],
|
new_patterns = auto_table(tokens[-1][tokens[-1].find('[')+1:-1],
|
||||||
|
|||||||
Reference in New Issue
Block a user