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 66fe27e commit 3d2b985Copy full SHA for 3d2b985
server/recceiver/cfstore.py
@@ -269,11 +269,9 @@ def chainResult(_ignored):
269
270
def _commitWithThread(self, transaction: CommitTransaction):
271
if not self.running:
272
- raise defer.CancelledError(
273
- "CF Processor is not running (transaction: {host}:{port})",
274
- host=transaction.source_address.host,
275
- port=transaction.source_address.port,
276
- )
+ host = transaction.source_address.host
+ port = transaction.source_address.port
+ raise defer.CancelledError(f"CF Processor is not running (transaction: {host}:{port})")
277
278
_log.info("CF_COMMIT: {transaction}".format(transaction=transaction))
279
_log.debug("CF_COMMIT: transaction: {s}".format(s=repr(transaction)))
0 commit comments