Skip to content

Commit 26abc43

Browse files
committed
feat (FC): support passing sets
1 parent 75395a2 commit 26abc43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/DIRAC/Resources/Catalog/Utilities.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
""" DIRAC FileCatalog client utilities
2-
"""
1+
"""DIRAC FileCatalog client utilities"""
2+
33
import os
44
import errno
55
import functools
@@ -16,7 +16,7 @@ def checkArgumentDict(path):
1616
"""Check and process format of the arguments to FileCatalog methods"""
1717
if isinstance(path, str):
1818
urls = {path: True}
19-
elif isinstance(path, list):
19+
elif isinstance(path, (list, set)):
2020
urls = {}
2121
for url in path:
2222
urls[url] = True

0 commit comments

Comments
 (0)