We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7ba70d commit 53b6274Copy full SHA for 53b6274
bugwarrior/docs/_ext/config.py
@@ -36,9 +36,11 @@ def run(self):
36
tomllines = tomltext.split('\n')
37
for i in range(0, len(self.content)): # mutate self.content
38
# ini2toml removes newlines within sections, so we leave them as is
39
- if self.content[i] == '' and tomllines != '':
+ if self.content[i] == '' and tomllines[0] != '':
40
continue
41
self.content[i] = tomllines.pop(0)
42
+ if any(tomllines):
43
+ raise ValueError(f'Unconsumed toml: {tomllines}')
44
45
toml = self._make_tab('toml')
46
0 commit comments