diff --git a/script/scriptgen.py b/script/scriptgen.py index f43205c5..a15b44df 100644 --- a/script/scriptgen.py +++ b/script/scriptgen.py @@ -1206,7 +1206,7 @@ def parse_dir(root, d, files): continue rootXml = ElementTree.parse(root + "/" + f).getroot() - if not rootXml: + if not len(rootXml): print("Ignoring [" + f + "]: Cannot parse xml", file=sys.stderr) continue diff --git a/xml/obs/openSUSE:Leap:16.0:Images.xml b/xml/obs/openSUSE:Leap:16.0:Images.xml index 06033ba5..ed0e765e 100644 --- a/xml/obs/openSUSE:Leap:16.0:Images.xml +++ b/xml/obs/openSUSE:Leap:16.0:Images.xml @@ -3,5 +3,13 @@ dist_path="images" distri="opensuse" archs="aarch64 x86_64"> - + + + + + + + + +