From b2fe18e3cdcc40fbb3e5304b2bc9f9fc3de4c58e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 5 Mar 2008 22:03:31 +0000 Subject: Fix have_end_quote() to compare the quote against the correct group. svn path=/main/trunk/; revision=9442 --- bin/filter-bash-environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3-1-g7c22