Fix some typos (found by codespell) (#9017)

* Fix some typos (found by codespell)

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* Remove typo fixes for some files which should not be modified

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil
2021-09-03 06:43:13 +10:00
committed by GitHub
parent 1a2d74decc
commit 0d4f92fa81
14 changed files with 19 additions and 19 deletions
@@ -260,7 +260,7 @@ class Sentence(Parsable):
class Block(Parsable):
""" Any sort of bloc, denoted by a block name and curly braces, like so:
""" Any sort of block, denoted by a block name and curly braces, like so:
The parsed block:
block name {
content 1;
@@ -313,8 +313,8 @@ class Block(Parsable):
"""
if not Block.should_parse(raw_list):
raise errors.MisconfigurationError("Block parsing expects a list of length 2. "
"First element should be a list of string types (the bloc names), "
"and second should be another list of statements (the bloc content).")
"First element should be a list of string types (the block names), "
"and second should be another list of statements (the block content).")
self.names = Sentence(self)
if add_spaces:
raw_list[0].append(" ")