Mercurial > p > roundup > code
comparison roundup/dehtml.py @ 7228:07ce4e4110f5
flake8 fixes: whitespace, remove unused imports
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 18 Mar 2023 14:16:31 -0400 |
| parents | ef0975b4291b |
| children | 6079440ac023 |
comparison
equal
deleted
inserted
replaced
| 7227:1e004afe87bb | 7228:07ce4e4110f5 |
|---|---|
| 2 from __future__ import print_function | 2 from __future__ import print_function |
| 3 from roundup.anypy.strings import u2s, uchr | 3 from roundup.anypy.strings import u2s, uchr |
| 4 | 4 |
| 5 import sys | 5 import sys |
| 6 _pyver = sys.version_info[0] | 6 _pyver = sys.version_info[0] |
| 7 | |
| 7 | 8 |
| 8 class dehtml: | 9 class dehtml: |
| 9 def __init__(self, converter): | 10 def __init__(self, converter): |
| 10 if converter == "none": | 11 if converter == "none": |
| 11 self.html2text = None | 12 self.html2text = None |
