mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
aurinfo: Allow lines starting with spaces
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
38b1bbe78d
commit
f19892f7c2
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ def ParseAurinfoFromIterable(iterable, ecatcher=None):
|
||||||
current_package = None
|
current_package = None
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if not line.startswith('\t'):
|
if not (line.startswith('\t') or line.startswith(' ')):
|
||||||
# start of new package
|
# start of new package
|
||||||
try:
|
try:
|
||||||
key, value = map(str.strip, line.split('=', 1))
|
key, value = map(str.strip, line.split('=', 1))
|
||||||
|
|
Loading…
Add table
Reference in a new issue