Fixed a typo in batchprocessor. Resolves #539.
This commit is contained in:
parent
ef8e52302a
commit
8af76ce669
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ class BatchCodeProcessor(object):
|
||||||
|
|
||||||
text = RE_INSERT.sub(replace_insert, text)
|
text = RE_INSERT.sub(replace_insert, text)
|
||||||
#text = re.sub(r"^\#INSERT (.*?)", replace_insert, text, flags=re.MULTILINE)
|
#text = re.sub(r"^\#INSERT (.*?)", replace_insert, text, flags=re.MULTILINE)
|
||||||
blocks = RE_CODE_SPLIT(text)
|
blocks = RE_CODE_SPLIT.split(text)
|
||||||
#blocks = re.split(r"(^\#CODE.*?$|^\#HEADER)$", text, flags=re.MULTILINE)
|
#blocks = re.split(r"(^\#CODE.*?$|^\#HEADER)$", text, flags=re.MULTILINE)
|
||||||
headers = []
|
headers = []
|
||||||
codes = [] # list of tuples (code, info, objtuple)
|
codes = [] # list of tuples (code, info, objtuple)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue