summaryrefslogtreecommitdiffstats
path: root/git-interface
diff options
context:
space:
mode:
Diffstat (limited to 'git-interface')
-rw-r--r--git-interface/aurinfo.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/git-interface/aurinfo.py b/git-interface/aurinfo.py
index d9b9372..86d0705 100644
--- a/git-interface/aurinfo.py
+++ b/git-interface/aurinfo.py
@@ -132,8 +132,12 @@ def ParseAurinfoFromIterable(iterable, ecatcher=None):
if key == 'pkgbase':
current_package = aurinfo.SetPkgbase(value)
- else:
+ elif key == 'pkgname':
current_package = aurinfo.AddPackage(value)
+ else:
+ ecatcher.Catch(lineno, 'unexpected new section not starting '
+ 'with \'pkgname\' found')
+ continue
else:
# package attribute
if current_package is None: