Skip to content

Commit b274b2c

Browse files
committed
fix: revert super() changes
1 parent 445fe30 commit b274b2c

File tree

8 files changed

+28
-28
lines changed

8 files changed

+28
-28
lines changed

src/DIRAC/WorkloadManagementSystem/Client/JobManagerClient.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ def __init__(self, url=None, **kwargs):
1313
1414
:param self: self reference
1515
:param url: url of the JobManagerHandler
16-
:param kwargs: forwarded to the Base Client class
17-
"""
16+
:param kwargs: forwarded to the Base Client class
17+
"""
1818

19-
super().__init__(**kwargs)
19+
super(JobManagerClient, self).__init__(**kwargs)
2020

21-
if not url:
22-
self.serverURL = "WorkloadManagement/JobManager"
21+
if not url:
22+
self.serverURL = "WorkloadManagement/JobManager"
2323

2424
else:
2525
self.serverURL = url

src/DIRAC/WorkloadManagementSystem/Client/JobMonitoringClient.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
class JobMonitoringClient(Client):
1111
def __init__(self, **kwargs):
1212

13-
super().__init__(**kwargs)
14-
self.setServer("WorkloadManagement/JobMonitoring")
13+
super(JobMonitoringClient, self).__init__(**kwargs)
14+
self.setServer("WorkloadManagement/JobMonitoring")
1515

1616
@ignoreEncodeWarning
1717
def getJobsStatus(self, jobIDs):

src/DIRAC/WorkloadManagementSystem/Client/JobStateUpdateClient.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ def __init__(self, url=None, **kwargs):
1313
1414
:param self: self reference
1515
:param url: url of the JobStateUpdateHandler
16-
:param kwargs: forwarded to the Base Client class
17-
"""
16+
:param kwargs: forwarded to the Base Client class
17+
"""
1818

19-
super().__init__(**kwargs)
19+
super(JobStateUpdateClient, self).__init__(**kwargs)
2020

21-
if not url:
22-
self.serverURL = "WorkloadManagement/JobStateUpdate"
21+
if not url:
22+
self.serverURL = "WorkloadManagement/JobStateUpdate"
2323

2424
else:
2525
self.serverURL = url

src/DIRAC/WorkloadManagementSystem/Client/MatcherClient.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ class MatcherClient(Client):
1717
"""
1818

1919
def __init__(self, **kwargs):
20-
"""Simple constructor"""
20+
"""Simple constructor"""
2121

22-
super().__init__(**kwargs)
23-
self.setServer("WorkloadManagement/Matcher")
22+
super(MatcherClient, self).__init__(**kwargs)
23+
self.setServer("WorkloadManagement/Matcher")
2424

2525
@ignoreEncodeWarning
2626
def getMatchingTaskQueues(self, resourceDict):

src/DIRAC/WorkloadManagementSystem/Client/PilotManagerClient.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ def __init__(self, url=None, **kwargs):
1414
1515
:param self: self reference
1616
:param url: url of the PilotManagerHandler
17-
:param kwargs: forwarded to the Base Client class
18-
"""
17+
:param kwargs: forwarded to the Base Client class
18+
"""
1919

20-
super().__init__(**kwargs)
20+
super(PilotManagerClient, self).__init__(**kwargs)
2121

22-
if not url:
23-
self.serverURL = "WorkloadManagement/PilotManager"
22+
if not url:
23+
self.serverURL = "WorkloadManagement/PilotManager"
2424

2525
else:
2626
self.serverURL = url

src/DIRAC/WorkloadManagementSystem/Client/PilotsLoggingClient.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ class PilotsLoggingClient(Client):
1010
"""
1111

1212
def __init__(self, **kwargs):
13-
super().__init__(**kwargs)
14-
self.setServer("WorkloadManagement/PilotsLogging")
13+
super(PilotsLoggingClient, self).__init__(**kwargs)
14+
self.setServer("WorkloadManagement/PilotsLogging")
1515

1616
def addPilotsLogging(self, pilotUUID, timestamp, source, phase, status, messageContent):
1717
"""

src/DIRAC/WorkloadManagementSystem/Client/WMSAdministratorClient.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ def __init__(self, url=None, **kwargs):
1313
1414
:param self: self reference
1515
:param url: url of the WMSAdministratorHandler
16-
:param kwargs: forwarded to the Base Client class
17-
"""
16+
:param kwargs: forwarded to the Base Client class
17+
"""
1818

19-
super().__init__(**kwargs)
19+
super(WMSAdministratorClient, self).__init__(**kwargs)
2020

21-
if not url:
22-
self.serverURL = "WorkloadManagement/WMSAdministrator"
21+
if not url:
22+
self.serverURL = "WorkloadManagement/WMSAdministrator"
2323

2424
else:
2525
self.serverURL = url

src/DIRAC/WorkloadManagementSystem/JobWrapper/JobWrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
EXECUTION_RESULT = {}
6868

6969

70-
class JobWrapper:
70+
class JobWrapper(object):
7171
"""The only user of the JobWrapper is the JobWrapperTemplate"""
7272

7373
#############################################################################

0 commit comments

Comments
 (0)