FIX: Pylint reduce
[csit.git] / resources / tools / integrated / compare_perpatch.py
index 62e5562..b4d52dc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2019 Cisco and/or its affiliates.
+# Copyright (c) 2021 Cisco and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
@@ -72,7 +72,7 @@ def main():
     for test_index in range(num_tests):
         parent_values = list()
         current_values = list()
-        for iteration_index in range(len(parent_iterations)):
+        for iteration_index, _ in enumerate(parent_iterations):
             parent_values.extend(
                 json.loads(parent_iterations[iteration_index][test_index])
             )