File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -903,10 +903,10 @@ def metrics(self, raw=False):
903
903
releases without warning.
904
904
"""
905
905
if raw :
906
- return self ._metrics .metrics
906
+ return self ._metrics .metrics . copy ()
907
907
908
908
metrics = {}
909
- for k , v in six .iteritems (self ._metrics .metrics ):
909
+ for k , v in six .iteritems (self ._metrics .metrics . copy () ):
910
910
if k .group not in metrics :
911
911
metrics [k .group ] = {}
912
912
if k .name not in metrics [k .group ]:
Original file line number Diff line number Diff line change @@ -716,10 +716,10 @@ def metrics(self, raw=False):
716
716
releases without warning.
717
717
"""
718
718
if raw :
719
- return self ._metrics .metrics
719
+ return self ._metrics .metrics . copy ()
720
720
721
721
metrics = {}
722
- for k , v in six .iteritems (self ._metrics .metrics ):
722
+ for k , v in six .iteritems (self ._metrics .metrics . copy () ):
723
723
if k .group not in metrics :
724
724
metrics [k .group ] = {}
725
725
if k .name not in metrics [k .group ]:
You can’t perform that action at this time.
0 commit comments