From cc6b89a3b8df06ab850856cc8c8ae789e19b3d34 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Fri, 20 Jan 2017 01:36:17 +0100 Subject: [PATCH] python3: prefer set instead of list to match existing code --- .../volk_gnsssdr/gen/volk_gnsssdr_kernel_defs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/gen/volk_gnsssdr_kernel_defs.py b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/gen/volk_gnsssdr_kernel_defs.py index 90ba0693c..e4595b3e5 100644 --- a/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/gen/volk_gnsssdr_kernel_defs.py +++ b/src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/gen/volk_gnsssdr_kernel_defs.py @@ -205,7 +205,7 @@ class kernel_class: __file__ = os.path.abspath(__file__) srcdir = os.path.dirname(os.path.dirname(__file__)) kernel_files = glob.glob(os.path.join(srcdir, "kernels", "volk_gnsssdr", "*.h")) -kernels = list(map(kernel_class, kernel_files)) +kernels = set(map(kernel_class, kernel_files)) if __name__ == '__main__': print(kernels)