mirror of
https://github.com/samba-team/samba.git
synced 2025-12-13 16:23:50 +03:00
python:samba:gp_parse: Fix code spelling
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andreas Schneider
parent
f3b2814d84
commit
97fb06a260
@@ -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), '_')
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user