diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-03-05 22:03:31 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-03-05 22:03:31 +0000 |
commit | b2fe18e3cdcc40fbb3e5304b2bc9f9fc3de4c58e (patch) | |
tree | d16c2698374bb52e0369a8a8f5350e8852d68992 | |
parent | deee80841177cfb1c965e60ad3ce93a808cbe55a (diff) | |
download | portage-b2fe18e3cdcc40fbb3e5304b2bc9f9fc3de4c58e.tar.gz portage-b2fe18e3cdcc40fbb3e5304b2bc9f9fc3de4c58e.tar.bz2 portage-b2fe18e3cdcc40fbb3e5304b2bc9f9fc3de4c58e.zip |
Fix have_end_quote() to compare the quote against the correct group.
svn path=/main/trunk/; revision=9442
-rwxr-xr-x | bin/filter-bash-environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |