From f618dfc66b6ee37f0bb18538ed07af956201e421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCdepohl?= <lorenz.huedepohl@rzg.mpg.de> Date: Fri, 16 Feb 2018 14:17:43 +0100 Subject: [PATCH] Apparently this order is necessary This seems to be an OBS bug --- mpcdf_common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mpcdf_common.py b/mpcdf_common.py index f1ed96f..8323a0d 100644 --- a/mpcdf_common.py +++ b/mpcdf_common.py @@ -194,10 +194,10 @@ def mpcdf_setup_repos(api_url, project, distribution, parent=None, packages=None p.set("repository", repo) p.tail = "\n " - if parent: - path(parent, name) for dep_project, dep_repo in dependencies: path(dep_project, dep_repo) + if parent: + path(parent, name) for arch in architectures: a = ElementTree.SubElement(r, "arch") -- GitLab