(self)
| 342 | self.py_main.only_stop_main_project(self.env.project_name) |
| 343 | |
| 344 | def get_log(self) -> str: |
| 345 | if not self.env: |
| 346 | raise RuntimeError('未设置环境') |
| 347 | get_obj = public.dict_obj() |
| 348 | get_obj.name = self.env.project_name |
| 349 | res = self.py_main.GetProjectLog(get_obj) |
| 350 | data = None |
| 351 | if res['status']: |
| 352 | data = res['data'] |
| 353 | |
| 354 | if not data: |
| 355 | return '暂无日志' |
| 356 | return data |
| 357 | |
| 358 | def get_info(self): |
| 359 | res = super().get_info() |
nothing calls this directly
no test coverage detected