diff --git a/osc/util/rpmquery.py b/osc/util/rpmquery.py index 51feb804..6d4ab380 100644 --- a/osc/util/rpmquery.py +++ b/osc/util/rpmquery.py @@ -83,7 +83,9 @@ class RpmQuery(packagequery.PackageQuery): data = self.__file.read(self.header.length) for i in self.header: if i.tag in tags or len(tags) == 0: - self.__read_data(i, data) + try: # this may fail for -debug* packages + self.__read_data(i, data) + except: pass def __read_lead(self): data = self.__file.read(self.LEAD_SIZE)