From e06917cd6325282282ce93fdb33ba44be34a6dc1 Mon Sep 17 00:00:00 2001 From: Jian Jin <47587743+kim-fitness@users.noreply.github.com> Date: Tue, 26 Mar 2024 10:08:21 +0800 Subject: [PATCH] https://github.ibm.com/platformcomputing/lsf-addon-tracker/issues/478 --- Spectrum LSF Application Center/pacclient/pacclient.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Spectrum LSF Application Center/pacclient/pacclient.py b/Spectrum LSF Application Center/pacclient/pacclient.py index 366600b..2d5a4fb 100755 --- a/Spectrum LSF Application Center/pacclient/pacclient.py +++ b/Spectrum LSF Application Center/pacclient/pacclient.py @@ -11,7 +11,7 @@ import getpass import socket import re -import urllib3 +import urllib.parse import calendar from datetime import timedelta, datetime import csv @@ -202,9 +202,9 @@ def main_job(argv): elif ((opt == '-s') | (opt == "--status")) : jobStatus = arg elif ((opt == '-n') | (opt == "--name")) : - jobName = urllib3.quote(arg) + jobName = urllib.parse.quote(arg) elif ((opt == '-g') | (opt == "--group")) : - group=urllib3.quote(arg) + group=urllib.parse.quote(arg) elif ((opt == '-p') | (opt == '--past')) : past=arg if len(args) > 0: