mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
15 lines
430 B
Diff
15 lines
430 B
Diff
Method renamed: https://github.com/giampaolo/psutil/pull/2408
|
|
Remove this patch when upgrading to psutil 6.0
|
|
|
|
--- a/pyftpdlib/test/__init__.py
|
|
+++ b/pyftpdlib/test/__init__.py
|
|
@@ -379,7 +379,7 @@
|
|
if POSIX:
|
|
cons = [
|
|
x
|
|
- for x in this_proc.net_connections('tcp')
|
|
+ for x in this_proc.connections('tcp')
|
|
if x.status != psutil.CONN_CLOSE_WAIT
|
|
]
|
|
if cons:
|