mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 19:51:35 +01:00
args -> kwargs
This commit is contained in:
@@ -39,12 +39,12 @@ if common.baremetal is None:
|
||||
image = common.vmlinux
|
||||
else:
|
||||
image = common.image
|
||||
tool= common.get_toolchain_tool(args.tool)
|
||||
if args.dry:
|
||||
tool= common.get_toolchain_tool(kwargs['tool'])
|
||||
if kwargs['dry']:
|
||||
print(tool)
|
||||
else:
|
||||
sys.exit(self.sh.run_cmd(
|
||||
[tool, common.Newline]
|
||||
+ common.add_newlines(args.extra_args),
|
||||
[tool, LF]
|
||||
+ common.add_newlines(kwargs['extra_args']),
|
||||
cmd_file=os.path.join(common.run_dir, 'run-toolchain.sh'),
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user