Skip to content

Commit

Permalink
broker: Fix flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sjlongland committed Aug 17, 2021
1 parent 562f2ed commit 12fd70a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions amqtt/broker.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def __init__(
self.port = int(uri.hostname)
except ValueError as e:
raise BrokerException(
"Invalid address given in bind value: %r" % (bind,)
"Invalid address given in bind value: %r" % (bind,)
) from e
else:
self.address = None
Expand Down Expand Up @@ -203,7 +203,7 @@ def __init__(
except FileNotFoundError as fnfe:
raise BrokerException(
"Can't read cert files '%s' or '%s' : %s"
% (listener["certfile"], listener["keyfile"], fnfe)
% (certfile, keyfile, fnfe)
) from fnfe
else:
self.ssl = None
Expand Down

0 comments on commit 12fd70a

Please sign in to comment.