diff options
-rwxr-xr-x | bin/repoman | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman index 1e1b1467a..c43493b99 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1391,7 +1391,7 @@ for x in scanlist: os.path.join(checkdir, "metadata.xml"), parser=xml.etree.ElementTree.XMLParser( target=_MetadataTreeBuilder())) - except (ExpatError, EnvironmentError) as e: + except (xml.etree.ElementTree.ParseError, ExpatError, EnvironmentError) as e: metadata_bad = True stats["metadata.bad"] += 1 fails["metadata.bad"].append("%s/metadata.xml: %s" % (x, e)) |