You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2023/02/23 12:54:34 UTC
[qpid-proton] branch main updated: PROTON-2676: Oops - fix PEP8 linter failures
This is an automated email from the ASF dual-hosted git repository.
astitcher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
The following commit(s) were added to refs/heads/main by this push:
new 3b0cfbc5a PROTON-2676: Oops - fix PEP8 linter failures
3b0cfbc5a is described below
commit 3b0cfbc5a963e63948ef5a514ef8d931d503895c
Author: Andrew Stitcher <as...@apache.org>
AuthorDate: Thu Feb 23 12:53:32 2023 +0000
PROTON-2676: Oops - fix PEP8 linter failures
---
python/examples/server.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/python/examples/server.py b/python/examples/server.py
index 403ceec00..2e95f795c 100755
--- a/python/examples/server.py
+++ b/python/examples/server.py
@@ -26,6 +26,7 @@ from proton.reactor import Container
exit_status = 0
+
class Server(MessagingHandler):
def __init__(self, url, address):
super(Server, self).__init__()
@@ -45,7 +46,7 @@ class Server(MessagingHandler):
global exit_status
print("Server needs a broker which supports ANONYMOUS-RELAY", file=sys.stderr)
exit_status = 1
- c= event.connection
+ c = event.connection
c.condition = Condition('amqp:not-implemented', description="ANONYMOUS-RELAY required")
c.close()
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org