Skip to content

Commit

Permalink
Try string scope, not internal scope
Browse files Browse the repository at this point in the history
  • Loading branch information
ericvaandering committed Feb 11, 2025
1 parent 1e3c29a commit 6b26be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/policy/CMSRucioPolicy/permission.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def _get_rule_size(rules):
logging.info('EWV: Checking size of rule')

size_of_rule = sum([file['bytes']
for file in list_files(InternalScope(did['scope']),
for file in list_files(did['scope'],
did['name'],
session=session)])

Expand Down

0 comments on commit 6b26be7

Please # to comment.