]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
python:samba:gp_parse: Fix code spelling
authorAndreas Schneider <asn@samba.org>
Tue, 6 Jun 2023 11:13:28 +0000 (13:13 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 23 Jun 2023 13:44:31 +0000 (13:44 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/gp_parse/__init__.py
python/samba/gp_parse/gp_inf.py

index bc6058638f18682512555c2c8a74cdd91e9d29aa..d45b9c572a8888882ae03b51c628296a0fdbf8f8 100644 (file)
@@ -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), '_')
 
index 4480bbb589d19783ba14e1a409e76a3a99538fdc..51035e6ec9fcfdb9499fa109fde0b5689cdf5b5e 100644 (file)
@@ -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