Li Guangming

Results 7 issues of Li Guangming

希望可以配置除了xxx平台,其他平台都跳过的逻辑,及其他类似条件的逻辑

@classmethod def sudo_run_cmd(cls, command, interrupt=True, timeout=25, out_debug_flag=True, command_log=True, password=None): if password is None: password = conf.PASSWORD cls.run_cmd( f"echo '{password}' | sudo -S {command}", interrupt=interrupt, timeout=timeout, out_debug_flag=out_debug_flag, command_log=command_log )

实例化远程类时,传入transfer_appname="xxx"参数后,apps下目录层级有误,结果是apps/xxx/xxx,应是apps/xxx

使用远程执行命令时,返回值为None,应返回命令执行结果

Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/Xlib/xauth.py", line 43, in __init__ raw = open(filename, 'rb').read() FileNotFoundError: [Errno 2] 没有那个文件或目录: '' During handling of the above exception, another exception occurred: Traceback...