1 |
Author: zmedico |
2 |
Date: 2008-03-05 22:03:31 +0000 (Wed, 05 Mar 2008) |
3 |
New Revision: 9442 |
4 |
|
5 |
Modified: |
6 |
main/trunk/bin/filter-bash-environment.py |
7 |
Log: |
8 |
Fix have_end_quote() to compare the quote against the correct group. |
9 |
|
10 |
|
11 |
Modified: main/trunk/bin/filter-bash-environment.py |
12 |
=================================================================== |
13 |
--- main/trunk/bin/filter-bash-environment.py 2008-03-05 19:59:27 UTC (rev 9441) |
14 |
+++ main/trunk/bin/filter-bash-environment.py 2008-03-05 22:03:31 UTC (rev 9442) |
15 |
@@ -32,7 +32,7 @@ |
16 |
""" |
17 |
close_quote_match = close_quote_re.search(line) |
18 |
return close_quote_match is not None and \ |
19 |
- close_quote_match.group(0) == quote |
20 |
+ close_quote_match.group(1) == quote |
21 |
|
22 |
def filter_bash_environment(pattern, file_in, file_out): |
23 |
here_doc_delim = None |
24 |
|
25 |
-- |
26 |
gentoo-commits@l.g.o mailing list |