print error if there's more than one path

This commit is contained in:
Ludwig Nussel 2015-05-28 17:31:26 +02:00
parent a0516129d0
commit c15ffe194e

View File

@ -872,6 +872,7 @@ class ABIChecker(ReviewBot.ReviewBot):
name = repo.attrib['name']
path = repo.findall('path')
if path is None or len(path) != 1:
self.logger.error("repo %s has more than one path"%name)
continue
prj = path[0].attrib['project']
if prj == 'openSUSE:Tumbleweed':