[aur-dev] [PATCH 1/2] aurinfo: Allow lines starting with spaces
Johannes Löthberg
johannes at kyriasis.com
Sat Aug 1 16:16:46 UTC 2015
Signed-off-by: Johannes Löthberg <johannes at kyriasis.com>
---
git-interface/aurinfo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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))
--
2.5.0
More information about the aur-dev
mailing list