diff options
author | crupest <crupest@outlook.com> | 2024-11-11 01:12:29 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2024-12-18 18:31:27 +0800 |
commit | eff33fcbc8e78b1cd15332c229cd39ae9befbe5e (patch) | |
tree | 1c83d262c79a15a06b5a02ce3276af0e8130c513 /tools/cru-py/cru/service | |
parent | f35afa17a47fa8e0cafbff5956feab64adb503be (diff) | |
download | crupest-eff33fcbc8e78b1cd15332c229cd39ae9befbe5e.tar.gz crupest-eff33fcbc8e78b1cd15332c229cd39ae9befbe5e.tar.bz2 crupest-eff33fcbc8e78b1cd15332c229cd39ae9befbe5e.zip |
HALF WORK: 2024.11.11
Diffstat (limited to 'tools/cru-py/cru/service')
-rw-r--r-- | tools/cru-py/cru/service/nginx.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/cru-py/cru/service/nginx.py b/tools/cru-py/cru/service/nginx.py index 9298623..f9120de 100644 --- a/tools/cru-py/cru/service/nginx.py +++ b/tools/cru-py/cru/service/nginx.py @@ -1,9 +1,10 @@ -from typing import Literal, Any, cast, ClassVar +import json import os -from os.path import join, basename, dirname -import subprocess import re -import json +import subprocess +from os.path import join, basename, dirname +from typing import Literal, Any, cast, ClassVar + import jsonschema from crupest.template2 import Template2 |