summaryrefslogtreecommitdiffstats
path: root/bin/filter-bash-environment.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-08-09 22:31:01 +0000
committerZac Medico <zmedico@gentoo.org>2012-05-21 15:32:21 -0700
commit33134306b3c4e293d527ddad005d8a4fee3cc246 (patch)
treebe46b89f61b38cb6b8063dc7bac9331abab6a122 /bin/filter-bash-environment.py
parenta1c154bfbc1cf71f94052616827d347c7e55470c (diff)
downloadportage-33134306b3c4e293d527ddad005d8a4fee3cc246.tar.gz
portage-33134306b3c4e293d527ddad005d8a4fee3cc246.tar.bz2
portage-33134306b3c4e293d527ddad005d8a4fee3cc246.zip
Fix typo in comment. Thanks to Arfrever.
svn path=/main/trunk/; revision=13963
Diffstat (limited to 'bin/filter-bash-environment.py')
-rwxr-xr-xbin/filter-bash-environment.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/filter-bash-environment.py b/bin/filter-bash-environment.py
index 381199617..11419fddc 100755
--- a/bin/filter-bash-environment.py
+++ b/bin/filter-bash-environment.py
@@ -49,8 +49,8 @@ def filter_bash_environment(pattern, file_in, file_out):
filter_this = pattern.match(var_assign_match.group(2)) \
is not None
# Exclude the start quote when searching for the end quote,
- # to ensure that the first quote is not identified as the
- # end quote (happends if there is a newline immediately after
+ # to ensure that the start quote is not misidentified as the
+ # end quote (happens if there is a newline immediately after
# the start quote).
if quote is not None and not \
have_end_quote(quote, line[var_assign_match.end(2)+2:]):