1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-26 06:53:14 +00:00

Make it work with python3

This commit is contained in:
Carles Fernandez 2017-01-16 20:03:06 +01:00
parent 7305c033d9
commit d9a315fd52

View File

@ -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 = map(kernel_class, kernel_files)
kernels = list(map(kernel_class, kernel_files))
if __name__ == '__main__':
print(kernels)