From: Gilles DAVID Date: Wed, 29 Sep 2021 15:15:36 +0000 (+0200) Subject: cPickle does not exist anymore in python 3 X-Git-Tag: EMC2P_V_1_3_4~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b6809601ba2575abc08c758f6b5356f5badc60db;p=modules%2Fkernel.git cPickle does not exist anymore in python 3 --- 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