Release: fix make_release bug
--HG-- extra : convert_revision : 4317e5909f23e2b8bf6e8407f0df10fad34e9e35
This commit is contained in:
parent
1b82d53774
commit
a06604db1d
1 changed files with 2 additions and 1 deletions
|
@ -172,7 +172,8 @@ def remove_lines(s_regex, e_regex, f):
|
|||
for line in inscript:
|
||||
if (not skipping and s_regex.match(line)) or \
|
||||
(e_regex and skipping and not e_regex.match(line)):
|
||||
skipping = True
|
||||
if e_regex:
|
||||
skipping = True
|
||||
continue
|
||||
skipping = False
|
||||
outscript.write(line)
|
||||
|
|
Loading…
Reference in a new issue