mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 19:21:35 +01:00
Fix import_path circular dependency by splitting it out.
Use import thread_pool instead from, from is evil. Fix poweroff.out path for ./trace-boot.
This commit is contained in:
@@ -14,7 +14,7 @@ import collections
|
||||
import os
|
||||
import sys
|
||||
|
||||
import common
|
||||
import lkmc.import_path
|
||||
|
||||
class _Argument:
|
||||
def __init__(
|
||||
@@ -192,7 +192,7 @@ class CliFunction:
|
||||
if config_file is not None:
|
||||
if os.path.exists(config_file):
|
||||
config_configs = {}
|
||||
config = common.import_path(config_file)
|
||||
config = lkmc.import_path.import_path(config_file)
|
||||
if self.extra_config_params is None:
|
||||
config.set_args(config_configs)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user