From 34204ec4c638ff1d61730e7187464db45f62b709 Mon Sep 17 00:00:00 2001 From: rustrover <154583430+rustrover@users.noreply.github.com> Date: Mon, 11 Mar 2024 15:04:38 +0800 Subject: [PATCH] fix: some typos (#415) Signed-off-by: gcmutator <329964069@qq.com> Co-authored-by: gcmutator <329964069@qq.com> --- cmdb-api/api/lib/perm/authentication/cas/routing.py | 2 +- docs/makefile_en.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmdb-api/api/lib/perm/authentication/cas/routing.py b/cmdb-api/api/lib/perm/authentication/cas/routing.py index 68b9241..612ad89 100644 --- a/cmdb-api/api/lib/perm/authentication/cas/routing.py +++ b/cmdb-api/api/lib/perm/authentication/cas/routing.py @@ -194,7 +194,7 @@ def validate(ticket): def _parse_tag(string, tag): """ - Used for parsing xml. Search string for the first occurence of + Used for parsing xml. Search string for the first occurrence of ..... and return text (stripped of leading and tailing whitespace) between tags. Return "" if tag not found. """ diff --git a/docs/makefile_en.md b/docs/makefile_en.md index 00d2be3..a588799 100644 --- a/docs/makefile_en.md +++ b/docs/makefile_en.md @@ -13,7 +13,7 @@ **set database in config file cmdb-api/settings.py** - In cmdb directory,start in order as follows: - - enviroment: `make env` + - environment: `make env` - start API: `make api` - start UI: `make ui` - start worker: `make worker`