Fix spelling mistake of beginning

Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
This commit is contained in:
Benjamin Drung 2020-04-29 14:11:30 +02:00 committed by Daniel Wozniak
parent 8c27fc8baf
commit 066aea0114
4 changed files with 5 additions and 5 deletions

View file

@ -725,7 +725,7 @@ def start(uri=None, tag_prefix="salt/engines/libvirt_events", filters=None):
:param uri: libvirt URI to listen on.
Defaults to None to pick the first available local hypervisor
:param tag_prefix: the begining of the salt event tag to use.
:param tag_prefix: the beginning of the salt event tag to use.
Defaults to 'salt/engines/libvirt_events'
:param filters: the list of event of listen on. Defaults to 'all'
"""

View file

@ -1105,7 +1105,7 @@ def subvolume_list(
res = __salt__["cmd.run_all"](cmd)
salt.utils.fsutils._verify_run(res)
# Parse the output. ID and gen are always at the begining, and
# Parse the output. ID and gen are always at the beginning, and
# path is always at the end. There is only one column that
# contains space (top level), and the path value can also have
# spaces. The issue is that we do not know how many spaces do we

View file

@ -648,7 +648,7 @@ def _execute(cur, qry, args=None):
def _sanitize_comments(content):
# Remove comments which might affect line by line parsing
# Regex should remove any text begining with # (or --) not inside of ' or "
# Regex should remove any text beginning with # (or --) not inside of ' or "
content = re.sub(
r"""(['"](?:[^'"]+|(?<=\\)['"])*['"])|#[^\n]*""",
lambda m: m.group(1) or "",

View file

@ -2804,7 +2804,7 @@ def del_repo(repo, basedir=None, **kwargs): # pylint: disable=W0613
del filerepos[stanza]["comments"]
content += "\n[{0}]".format(stanza)
for line in filerepos[stanza]:
# A whitespace is needed at the begining of the new line in order
# A whitespace is needed at the beginning of the new line in order
# to avoid breaking multiple line values allowed on repo files.
value = filerepos[stanza][line]
if isinstance(value, six.string_types) and "\n" in value:
@ -2943,7 +2943,7 @@ def mod_repo(repo, basedir=None, **kwargs):
)
content += "[{0}]\n".format(stanza)
for line in six.iterkeys(filerepos[stanza]):
# A whitespace is needed at the begining of the new line in order
# A whitespace is needed at the beginning of the new line in order
# to avoid breaking multiple line values allowed on repo files.
value = filerepos[stanza][line]
if isinstance(value, six.string_types) and "\n" in value: