summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-08-01 18:16:46 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-08-04 05:57:02 +0200
commitf19892f7c2ecc1667fd24331d15217cc4f848d3a (patch)
tree6141c3627c84f11d0aeb04842b37964802f96d02
parent38b1bbe78df3a518f0688e50f1d6361221b95ea1 (diff)
downloadaurweb-f19892f7c2ecc1667fd24331d15217cc4f848d3a.tar.xz
aurinfo: Allow lines starting with spaces
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rw-r--r--git-interface/aurinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-interface/aurinfo.py b/git-interface/aurinfo.py
index 201f864..dfee3c1 100644
--- a/git-interface/aurinfo.py
+++ b/git-interface/aurinfo.py
@@ -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))