File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
DataManagementSystem/Utilities Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -323,7 +323,7 @@ def __findServiceURL(self):
323
323
pass
324
324
325
325
# We randomize the list, and add at the end the failover URLs (System/FailoverURLs/Component)
326
- urlsList = List .randomize ( List . fromChar (urls , "," ) ) + failoverUrls
326
+ urlsList = List .fromChar (urls , "," ) + failoverUrls
327
327
self .__nbOfUrls = len (urlsList )
328
328
self .__nbOfRetry = (
329
329
2 if self .__nbOfUrls > 2 else 3
@@ -445,7 +445,6 @@ def _connect(self):
445
445
return self .__initStatus
446
446
if self .__enableThreadCheck :
447
447
self .__checkThreadID ()
448
-
449
448
gLogger .debug (f"Trying to connect to: { self .serviceURL } " )
450
449
try :
451
450
# Calls the transport method of the apropriate protocol.
Original file line number Diff line number Diff line change 1
1
"""
2
- This module contains helper methods for accessing operational attributes or parameters of DMS objects
2
+ This module contains helper methods for accessing operational attributes or parameters of DMS objects
3
3
4
4
"""
5
+
5
6
from collections import defaultdict
6
7
from DIRAC import gConfig , gLogger , S_OK , S_ERROR
7
8
from DIRAC .ConfigurationSystem .Client .Helpers .Path import cfgPath
17
18
def resolveSEGroup (seGroupList , allSEs = None ):
18
19
"""
19
20
Resolves recursively a (list of) SEs that can be groupSEs
21
+ For modules, JobWrapper or whatever runs at a given site,
22
+ prefer using :py:func:`~DIRAC.DataManagementSystem.Utilities.ResolveSE.getDestinationSEList`
23
+
20
24
21
25
:param seGroupList: list of SEs to resolve or comma-separated SEs
22
26
:type seGroupList: list or string
You can’t perform that action at this time.
0 commit comments