File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -291,11 +291,7 @@ def append(
291291
292292 if not self ._parsed :
293293 is_table = isinstance (item , (Table , AoT ))
294- if (
295- key is not None
296- and self ._body
297- and (not is_table or key .is_dotted ())
298- ):
294+ if key is not None and self ._body and (not is_table or key .is_dotted ()):
299295 # If there is already at least one table in the current container
300296 # and the given item is not a table, we need to find the last
301297 # item that is not a table and insert after it
Original file line number Diff line number Diff line change @@ -425,9 +425,7 @@ def _parse_bare_key(self) -> Key:
425425 Parses a bare key.
426426 """
427427 src = self ._src
428- while (
429- src ._current in BARE or src ._current in SPACES
430- ) and src .inc ():
428+ while (src ._current in BARE or src ._current in SPACES ) and src .inc ():
431429 pass
432430
433431 original = src .extract ()
You can’t perform that action at this time.
0 commit comments