Release: fix make_release bug

--HG--
extra : convert_revision : 4317e5909f23e2b8bf6e8407f0df10fad34e9e35
This commit is contained in:
Ali Saidi 2007-10-31 17:52:07 -04:00
parent 1b82d53774
commit a06604db1d

View file

@ -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)