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 33bfb2a commit e8bf09cCopy full SHA for e8bf09c
src/DIRAC/Resources/Catalog/Utilities.py
@@ -1,5 +1,5 @@
1
-""" DIRAC FileCatalog client utilities
2
-"""
+"""DIRAC FileCatalog client utilities"""
+
3
import os
4
import errno
5
import functools
@@ -16,7 +16,7 @@ def checkArgumentDict(path):
16
"""Check and process format of the arguments to FileCatalog methods"""
17
if isinstance(path, str):
18
urls = {path: True}
19
- elif isinstance(path, list):
+ elif isinstance(path, (list, set)):
20
urls = {}
21
for url in path:
22
urls[url] = True
0 commit comments