diff --git a/lib/importer.py b/lib/importer.py index b691297..562ec00 100644 --- a/lib/importer.py +++ b/lib/importer.py @@ -133,7 +133,11 @@ class Importer: rev = OBSRevision(self.obs, self, project, package).parse(r) if not latest or rev.rev > latest.rev: dbrev = DBRevision.import_obs_rev(db, rev) - root = rev.read_link() + try: + root = rev.read_link() + except ET.ParseError: + dbrev.set_broken(db) + continue if root is not None: tprj = root.get("project") or project tpkg = root.get("package") or package