Skip to content

Commit 421ea06

Browse files
committed
str lambda clean on common
1 parent 6513e99 commit 421ea06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
# Fixed parameters that don't depend on CLI arguments.
4040
consts = {}
4141
consts['repo_short_id'] = 'lkmc'
42-
consts['linux_kernel_version'] = '.'.join(map(lambda i: str(i), path_properties.linux_kernel_version_tuple))
42+
consts['linux_kernel_version'] = '.'.join(map(str, path_properties.linux_kernel_version_tuple))
4343
# https://stackoverflow.com/questions/20010199/how-to-determine-if-a-process-runs-inside-lxc-docker
4444
consts['in_docker'] = os.path.exists('/.dockerenv')
4545
consts['root_dir'] = os.path.dirname(os.path.abspath(__file__))

0 commit comments

Comments
 (0)