Skip to content

Commit

Permalink
fix: removed py2-connected options
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Mar 21, 2024
1 parent 6475502 commit 0f4f3e3
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Pilot/pilotTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,6 @@ def __init__(self):
"""
self.log = Logger(self.__class__.__name__, debugFlag=True)
self.rootPath = os.getcwd()
self.originalRootPath = os.getcwd()
self.pilotRootPath = os.getcwd()
self.workingDir = os.getcwd()

Expand Down Expand Up @@ -859,7 +858,6 @@ def __init__(self):
self.site = ""
self.setup = ""
self.configServer = ""
self.installation = ""
self.ceName = ""
self.ceType = ""
self.queueName = ""
Expand All @@ -869,7 +867,6 @@ def __init__(self):
# used to set payloadProcessors unless other limits are reached (like the number of processors on the WN)
self.maxNumberOfProcessors = 0
self.minDiskSpace = 2560 # MB
self.defaultsURL = None
self.userGroup = ""
self.userDN = ""
self.maxCycles = 10
Expand Down Expand Up @@ -966,11 +963,9 @@ def __init__(self):
("R:", "reference=", "Use this pilot reference"),
("S:", "setup=", "DIRAC Setup to use"),
("T:", "CPUTime=", "Requested CPU Time"),
("V:", "installation=", "Installation configuration file"),
("W:", "gateway=", "Configure <gateway> as DIRAC Gateway during installation"),
("X:", "commands=", "Pilot commands to execute"),
("Z:", "commandOptions=", "Options parsed by command modules"),
("", "defaultsURL=", "user-defined URL for global config"),
("", "pilotUUID=", "pilot UUID"),
("", "preinstalledEnv=", "preinstalled pilot environment script location"),
("", "preinstalledEnvPrefix=", "preinstalled pilot environment area prefix"),
Expand Down Expand Up @@ -1085,8 +1080,6 @@ def __initCommandLine2(self):
self.executeCmd = v
elif o in ("-O", "--OwnerDN"):
self.userDN = v
elif o in ("-V", "--installation"):
self.installation = v
elif o == "-m" or o == "--maxNumberOfProcessors":
self.maxNumberOfProcessors = int(v)
elif o == "-D" or o == "--disk":
Expand Down Expand Up @@ -1146,9 +1139,6 @@ def __initCommandLine2(self):
self.userEnvVariables = v
elif o == "--pipInstallOptions":
self.pipInstallOptions = v

elif o == "--defaultsURL":
self.defaultsURL = v
elif o == "--preinstalledEnv":
self.preinstalledEnv = v
elif o == "--preinstalledEnvPrefix":
Expand Down

0 comments on commit 0f4f3e3

Please sign in to comment.