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