From 9687e7ea7a34253b4198d4df461857402c317013 Mon Sep 17 00:00:00 2001 From: Gilles DAVID Date: Wed, 29 Sep 2021 17:15:36 +0200 Subject: [PATCH] cPickle does not exist anymore in python 3 --- bin/PortManager.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/PortManager.py b/bin/PortManager.py index 61289e6c1..a07bd40d4 100644 --- a/bin/PortManager.py +++ b/bin/PortManager.py @@ -27,10 +27,7 @@ import psutil from socket import AF_INET, SOCK_STREAM -try: - import cPickle as pickle #@UnusedImport -except ImportError: - import pickle #@Reimport +import pickle __PORT_MIN_NUMBER = 2810 __PORT_MAX_NUMBER = 2910 -- 2.39.2