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`