summaryrefslogtreecommitdiff
path: root/net/py-stomp.py
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-03-25 21:33:23 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-03-25 21:38:18 +0800
commitd773e5bfe4f8298f60fc4da2b905e2dd84701ed0 (patch)
treecc9d34309dd0d21f5f9dbf1149b8870201298fec /net/py-stomp.py
parentnet/py-libdnet: Prepare for py-setuptools 69.10.0 update (diff)
net/py-stomp.py: Fix build with setuptools 58.0.0+
With hat: python
Diffstat (limited to 'net/py-stomp.py')
-rw-r--r--net/py-stomp.py/files/patch-2to313
1 files changed, 13 insertions, 0 deletions
diff --git a/net/py-stomp.py/files/patch-2to3 b/net/py-stomp.py/files/patch-2to3
new file mode 100644
index 000000000000..795a89f846ba
--- /dev/null
+++ b/net/py-stomp.py/files/patch-2to3
@@ -0,0 +1,13 @@
+--- stomp/backwardsock25.py.orig 2016-11-13 14:00:03 UTC
++++ stomp/backwardsock25.py
+@@ -25,8 +25,8 @@ def get_socket(host, port, timeout=None):
+ sock.connect(sa)
+ return sock
+
+- except error, msg:
++ except error as msg:
+ if sock is not None:
+ sock.close()
+
+- raise error, ERRMSG
++ raise error(ERRMSG)