aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-08-09 22:31:01 +0000
committerZac Medico <zmedico@gentoo.org>2009-08-09 22:31:01 +0000
commit2428fe1ceed45b69fe882ed1c8e1cd8738b33c78 (patch)
treef2cbdb44c8ffc1f02493c6f6ed4e7045eda5f1bb /bin/filter-bash-environment.py
parentEncode unicode messages as bytes in order to avoid TypeError from (diff)
downloadportage-2428fe1ceed45b69fe882ed1c8e1cd8738b33c78.tar.gz
portage-2428fe1ceed45b69fe882ed1c8e1cd8738b33c78.tar.bz2
portage-2428fe1ceed45b69fe882ed1c8e1cd8738b33c78.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:]):