Initial python3 changes

Mostly just updating libraries, removing string encoding/decoding,
fixing some edge cases. No new functionality was added in this
commit.
This commit is contained in:
rembo10
2022-01-14 10:38:03 +05:30
parent 9a7006ad14
commit ab4dd18be4
813 changed files with 146338 additions and 65753 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ class Formatter(logging.Formatter):
"""
if style not in _STYLES:
raise ValueError('Style must be one of: %s' % ','.join(
_STYLES.keys()))
list(_STYLES.keys())))
self._style = _STYLES[style](fmt)
self._fmt = self._style._fmt
self.datefmt = datefmt