Fix typo in comment. Thanks to Arfrever.
authorZac Medico <zmedico@gentoo.org>
Sun, 9 Aug 2009 22:31:01 +0000 (22:31 +0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 21 May 2012 22:32:21 +0000 (15:32 -0700)
svn path=/main/trunk/; revision=13963

bin/filter-bash-environment.py

index 381199617e370f6069917f4af643c7a5bd901b1f..11419fddca6e861211a4b19b18a542e192dfda61 100755 (executable)
@@ -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:]):