X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fintegrated%2Fcompare_perpatch.py;h=b4d52dcdfed0e7048d80d8dcacf7eb40aac6fd48;hp=62e55629f6092aa70708e632b79d1dd7b8e46870;hb=7829fea4a2c8936513fa95215b7d84997f814a69;hpb=8b25b4e89bdba964f2a3d602b8c47f551a084724 diff --git a/resources/tools/integrated/compare_perpatch.py b/resources/tools/integrated/compare_perpatch.py index 62e55629f6..b4d52dcdfe 100644 --- a/resources/tools/integrated/compare_perpatch.py +++ b/resources/tools/integrated/compare_perpatch.py @@ -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]) )