Skip to content

Commit

Permalink
add logging for scope name.
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyiguo committed Dec 5, 2023
1 parent 6ad949e commit aa9c3ef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/rucio/web/rest/flaskapi/v1/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,12 @@ def parse_scope_name(scope_name, vo):
:returns: a (scope, name) tuple.
"""
# why again does that regex start with a slash?
logging.error('***********************************YG')
logging.error(f'vo: {vo}')
logging.error(f'scope_name: {scopr_name}')
rubin-SCOPE_NAME_REGEXP = get_schema_value('SCOPE_NAME_REGEXP', vo)
logging.error(f'SCOPE_NAME_REGEXP: {rubin-SCOPE_NAME_REGEXP}')
logging.error('***********************************YG')
scope_name = re.match(get_schema_value('SCOPE_NAME_REGEXP', vo), '/' + scope_name)
if scope_name is None:
raise ValueError('cannot parse scope and name')
Expand Down

0 comments on commit aa9c3ef

Please sign in to comment.