linting
This commit is contained in:
parent
23b461aa45
commit
b933165707
|
@ -163,7 +163,7 @@ class Request:
|
|||
except FileNotFoundError as exc:
|
||||
sock.close()
|
||||
self.state = Request.STATE_CONNECTION_FAILED
|
||||
self.error = "Could not load identity files."
|
||||
self.error = "Could not load identity files ({exc})"
|
||||
logging.error(f"Failed to load identity files {self.identity}")
|
||||
return False
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import unittest
|
||||
|
||||
from ..mime import MimeType, DEFAULT_CHARSET, DEFAULT_MIME_TYPE
|
||||
from ..mime import MimeType
|
||||
|
||||
|
||||
class TestMime(unittest.TestCase):
|
||||
|
|
|
@ -11,7 +11,7 @@ This version fixes a few quirks of the standard module, namely:
|
|||
|
||||
- Discard multi-lines mode: only one line is supported.
|
||||
- Moving in line more reasonably: no more going alone rightward.
|
||||
- Handle Unicode
|
||||
- Handle Unicode.
|
||||
"""
|
||||
|
||||
import curses
|
||||
|
|
Reference in a new issue