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: