Make linter happy in spite of contextual style.

This commit is contained in:
Evilham 2019-07-23 16:34:27 +02:00
parent 6eb978caa1
commit 40db1d19f5
2 changed files with 7 additions and 5 deletions

View File

@ -886,8 +886,8 @@ class POP3(basic.LineOnlyReceiver, policies.TimeoutMixin):
self._userIs = None
password = b' '.join((password,) + words)
d = defer.maybeDeferred(self.authenticateUserPASS, user, password)
d.addCallbacks(self._cbMailbox, self._ebMailbox, callbackArgs=(user,)
).addErrback(self._ebUnexpected)
d.addCallbacks(self._cbMailbox, self._ebMailbox,
callbackArgs=(user,)).addErrback(self._ebUnexpected)
def _longOperation(self, d):

View File

@ -822,9 +822,11 @@ class AnotherPOP3Tests(unittest.TestCase):
b'Unknown protocol command: DUMMY'])]
return self.run_PASS(b'testuser', b'testpassword',
after_auth_input=extra_input,
after_auth_output=extra_output,
).addCallback(self.flushLoggedErrors, pop3.POP3Error)
after_auth_input=extra_input,
after_auth_output=extra_output,
).addCallback(self.flushLoggedErrors,
pop3.POP3Error)
@implementer(pop3.IServerFactory)