diff options
| author | Andreas Schneider <asn@samba.org> | 2023-06-06 13:13:28 +0200 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2023-06-23 13:44:31 +0000 |
| commit | 97fb06a26072e61ea8f2b9efd94e13d50fb30e3d (patch) | |
| tree | 0a0d953c8bb217cc3a980b95ac373c63b141ada7 /python | |
| parent | f3b2814d842809e5e95e2eba094ab08fe71057e2 (diff) | |
| download | samba-97fb06a26072e61ea8f2b9efd94e13d50fb30e3d.tar.gz samba-97fb06a26072e61ea8f2b9efd94e13d50fb30e3d.tar.bz2 samba-97fb06a26072e61ea8f2b9efd94e13d50fb30e3d.zip | |
python:samba:gp_parse: Fix code spelling
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python')
| -rw-r--r-- | python/samba/gp_parse/__init__.py | 2 | ||||
| -rw-r--r-- | python/samba/gp_parse/gp_inf.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/python/samba/gp_parse/__init__.py b/python/samba/gp_parse/__init__.py index bc6058638f1..d45b9c572a8 100644 --- a/python/samba/gp_parse/__init__.py +++ b/python/samba/gp_parse/__init__.py @@ -89,7 +89,7 @@ class GPParser(object): if type_str is None: raise GPGeneralizeException("No such entity type") - # For formattting reasons, align the length of the entities + # For formatting reasons, align the length of the entities longest = entity_type_to_string(ENTITY_NETWORK_PATH) type_str = type_str.center(len(longest), '_') diff --git a/python/samba/gp_parse/gp_inf.py b/python/samba/gp_parse/gp_inf.py index 4480bbb589d..51035e6ec9f 100644 --- a/python/samba/gp_parse/gp_inf.py +++ b/python/samba/gp_parse/gp_inf.py @@ -172,7 +172,7 @@ class GptTmplInfParser(GPParser): findex = line.find('"') parameters[current_arg] = line[:findex] line = line[findex + 1:] - # Skip past delimeter + # Skip past delimiter elif line[:1] == ',': line = line[1:] current_arg += 1 |
