Home
last modified time | relevance | path

Searched refs:scope_spec (Results 1 – 1 of 1) sorted by relevance

/external/python/apitools/apitools/base/py/
Dutil.py80 def NormalizeScopes(scope_spec): argument
82 if isinstance(scope_spec, six.string_types):
83 scope_spec = six.ensure_str(scope_spec)
84 return set(scope_spec.split(' '))
85 elif isinstance(scope_spec, Iterable):
86 scope_spec = [six.ensure_str(x) for x in scope_spec]
87 return set(scope_spec)
90 type(scope_spec),))