We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18d533c commit fd6210aCopy full SHA for fd6210a
server/recceiver/cfstore.py
@@ -350,11 +350,9 @@ def chainResult(_ignored):
350
351
def _commitWithThread(self, transaction: CommitTransaction):
352
if not self.running:
353
- raise defer.CancelledError(
354
- "CF Processor is not running (transaction: {host}:{port})",
355
- host=transaction.source_address.host,
356
- port=transaction.source_address.port,
357
- )
+ host = transaction.source_address.host
+ port = transaction.source_address.port
+ raise defer.CancelledError(f"CF Processor is not running (transaction: {host}:{port})")
358
359
_log.info("CF_COMMIT: {transaction}".format(transaction=transaction))
360
_log.debug("CF_COMMIT: transaction: {s}".format(s=repr(transaction)))
0 commit comments