We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d42fe77 commit a24f10bCopy full SHA for a24f10b
src/DIRAC/RequestManagementSystem/Agent/RequestOperations/ForwardDISET.py
@@ -1,17 +1,5 @@
1
-""" :mod: ForwardDISET
2
-
3
- ==================
4
5
- .. module: ForwardDISET
6
7
- :synopsis: DISET forwarding operation handler
8
9
- .. moduleauthor:: [email protected]
10
11
- DISET forwarding operation handler
12
-"""
13
14
import importlib
+from collections.abc import Sequence
15
16
# imports
17
from DIRAC import S_ERROR, S_OK, gConfig
@@ -65,7 +53,7 @@ def __call__(self):
65
53
return S_ERROR(str(error))
66
54
67
55
# This is the DISET rpcStub
68
- if isinstance(stub, tuple):
56
+ if isinstance(stub, Sequence):
69
57
# Ensure the forwarded request is done on behalf of the request owner
70
58
res = getDNForUsername(self.request.Owner)
71
59
if not res["OK"]:
0 commit comments