diff options
author | Moshe Kaplan <me@moshekaplan.com> | 2021-12-19 21:40:23 -0500 |
---|---|---|
committer | AndersBroman <a.broman58@gmail.com> | 2021-12-22 11:01:11 +0000 |
commit | 69d54d6f8e668b6018375121ea2afb99f3dd0177 (patch) | |
tree | d0fffa200bbaf4ef325ac00c75a79d682bf379c6 /tools/html2text.py | |
parent | b5928542b77cf789b112370bb7acc00942162519 (diff) |
Corrects repeated words throughout the code.
Repeated words were found with:
egrep "(\b[a-zA-Z]+) +\1\b" . -Ir
and then manually reviewed.
Non-displayed strings (e.g., in comments)
were also corrected, to ease future review.
Diffstat (limited to 'tools/html2text.py')
-rwxr-xr-x | tools/html2text.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/html2text.py b/tools/html2text.py index a8e6bffde5..b98b3dea38 100755 --- a/tools/html2text.py +++ b/tools/html2text.py @@ -224,7 +224,7 @@ def main(): if hasattr(f, 'buffer'): # Access raw (byte) buffer in Python 3 instead of decoded one f = f.buffer - # Read stdin as as Unicode string + # Read stdin as a Unicode string htmlparser.feed(f.read().decode('utf-8')) finally: if filename is not None: |