mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
python3: prefer set instead of list to match existing code
This commit is contained in:
parent
d9a315fd52
commit
cc6b89a3b8
@ -205,7 +205,7 @@ class kernel_class:
|
|||||||
__file__ = os.path.abspath(__file__)
|
__file__ = os.path.abspath(__file__)
|
||||||
srcdir = os.path.dirname(os.path.dirname(__file__))
|
srcdir = os.path.dirname(os.path.dirname(__file__))
|
||||||
kernel_files = glob.glob(os.path.join(srcdir, "kernels", "volk_gnsssdr", "*.h"))
|
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__':
|
if __name__ == '__main__':
|
||||||
print(kernels)
|
print(kernels)
|
||||||
|
Loading…
Reference in New Issue
Block a user