diff options
author | Vratko Polak <vrpolak@cisco.com> | 2024-01-12 14:51:43 +0100 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2024-01-24 12:28:58 +0100 |
commit | 3691ece73cbce1cf874d0b3cf9cbaf45a4f08a78 (patch) | |
tree | 1d297df82001e4f5b5abc633b0bc5f932e04f4f9 /resources/libraries/python/PLRsearch/stat_trackers.py | |
parent | fcd0677317970062b37e196b4d1a15a135f51cca (diff) |
fix(PLRsearch): fix some pylint violations
- Complexity and logging would require a larger change.
Change-Id: I69f8e47b1806c880cd626bc5a8f5ae6290246093
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/python/PLRsearch/stat_trackers.py')
-rw-r--r-- | resources/libraries/python/PLRsearch/stat_trackers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/PLRsearch/stat_trackers.py b/resources/libraries/python/PLRsearch/stat_trackers.py index d19eebedb7..e598fd840e 100644 --- a/resources/libraries/python/PLRsearch/stat_trackers.py +++ b/resources/libraries/python/PLRsearch/stat_trackers.py @@ -209,7 +209,7 @@ class ScalarDualStatTracker(ScalarStatTracker): """ # Using super() as copy() and add() are not expected to change # signature, so this way diamond inheritance will be supported. - primary = super(ScalarDualStatTracker, self) + primary = super() if self.max_log_weight is None or log_weight >= self.max_log_weight: self.max_log_weight = log_weight self.secondary = primary.copy() |