We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6513e99 commit 421ea06Copy full SHA for 421ea06
common.py
@@ -39,7 +39,7 @@
39
# Fixed parameters that don't depend on CLI arguments.
40
consts = {}
41
consts['repo_short_id'] = 'lkmc'
42
-consts['linux_kernel_version'] = '.'.join(map(lambda i: str(i), path_properties.linux_kernel_version_tuple))
+consts['linux_kernel_version'] = '.'.join(map(str, path_properties.linux_kernel_version_tuple))
43
# https://stackoverflow.com/questions/20010199/how-to-determine-if-a-process-runs-inside-lxc-docker
44
consts['in_docker'] = os.path.exists('/.dockerenv')
45
consts['root_dir'] = os.path.dirname(os.path.abspath(__file__))
0 commit comments