(projects)
| 3229 | |
| 3230 | @staticmethod |
| 3231 | def _multi_remove_duli(projects): |
| 3232 | for project in projects: |
| 3233 | # 关闭独立项目 |
| 3234 | tomcat = utils.site_tomcat(project["name"]) |
| 3235 | if tomcat: |
| 3236 | tomcat.stop() |
| 3237 | tomcat.remove_service() |
| 3238 | if os.path.exists(tomcat.path): |
| 3239 | shutil.rmtree(tomcat.path) |
| 3240 | |
| 3241 | @staticmethod |
| 3242 | def _multi_remove_neizhi(projects): |
no test coverage detected