From: Ali Saidi Date: Wed, 31 Oct 2007 21:52:07 +0000 (-0400) Subject: Release: fix make_release bug X-Git-Tag: m5_2.0_beta4~15 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a06604db1d62b0146a9aefc98c9fd66c4f0e16ba;p=gem5.git Release: fix make_release bug --HG-- extra : convert_revision : 4317e5909f23e2b8bf6e8407f0df10fad34e9e35 --- diff --git a/util/make_release.py b/util/make_release.py index b6c5f08fa..fafea133c 100755 --- a/util/make_release.py +++ b/util/make_release.py @@ -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)