Skip to content
Snippets Groups Projects
Commit 523e9b43 authored by Walter Lampl's avatar Walter Lampl
Browse files

AccumulatorCache: Improve debug output

parent e73eb1f2
No related branches found
No related tags found
1 merge request!58206Improve cachability of ComponentAccumulator returned by IOVDbSvcCfg
......@@ -135,12 +135,12 @@ class AccumulatorDecorator:
for a in args:
if(not AccumulatorDecorator._hasHash(a)):
hashable_args = False
_msg.debug("Positional argument to AccumulatorDecorator __call__ is not hashable.")
_msg.debug("Positional argument %s to AccumulatorDecorator __call__ is not hashable.",str(a))
break
for k , v in kwargs.items():
if(not AccumulatorDecorator._hasHash(v)):
hashable_args = False
_msg.debug("Value in keyword argument to AccumulatorDecorator __call__ is not hashable.")
_msg.debug("Value in keyword argument %s to AccumulatorDecorator __call__ is not hashable.",str(k))
break
if(hashable_args):
# frozen set makes the order of keyword arguments irrelevant
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment