From fb80d0c1056e6dc079ecff86b888c206cfd39a45 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Fri, 21 Feb 2025 13:24:40 +0100 Subject: [PATCH] Revert "Only stop importing when it isn't a jengelh repository" This reverts commit 44b4d690dbc8532125399298d8765d2548c32b6b. this breaks detection of scmsync projects. Jan can live with not synced git for a few weeks --- lib/importer.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/importer.py b/lib/importer.py index b82faa8..e72ffab 100644 --- a/lib/importer.py +++ b/lib/importer.py @@ -268,12 +268,9 @@ class Importer: return self.scmsync_cache[key] root = self.obs._meta(key) - scmsync = None scmsync_exists = False - if root and root.find('scmsync') is not None: - scmsync = root.find('scmsync').text - if scmsync: - scmsync_exists = scmsync.startswith('https://src.opensuse.org/pool/') + if root is not None: + scmsync_exists = root.find('scmsync') is not None self.scmsync_cache[key] = scmsync_exists return scmsync_exists