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:
Johannes Löthberg 2015-08-01 18:16:46 +02:00 committed by Lukas Fleischer
parent 38b1bbe78d
commit f19892f7c2

View file

@ -121,7 +121,7 @@ def ParseAurinfoFromIterable(iterable, ecatcher=None):
current_package = None
continue
if not line.startswith('\t'):
if not (line.startswith('\t') or line.startswith(' ')):
# start of new package
try:
key, value = map(str.strip, line.split('=', 1))