From: Zac Medico Date: Wed, 5 Mar 2008 22:03:31 +0000 (-0000) Subject: Fix have_end_quote() to compare the quote against the correct group. X-Git-Tag: v2.2_pre4~9 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=b2fe18e3cdcc40fbb3e5304b2bc9f9fc3de4c58e;p=portage.git Fix have_end_quote() to compare the quote against the correct group. svn path=/main/trunk/; revision=9442 --- diff --git a/bin/filter-bash-environment.py b/bin/filter-bash-environment.py index 0db77ba5f..0a88f710b 100755 --- a/bin/filter-bash-environment.py +++ b/bin/filter-bash-environment.py @@ -32,7 +32,7 @@ def have_end_quote(quote, line): """ close_quote_match = close_quote_re.search(line) return close_quote_match is not None and \ - close_quote_match.group(0) == quote + close_quote_match.group(1) == quote def filter_bash_environment(pattern, file_in, file_out): here_doc_delim = None