Revert "Only stop importing when it isn't a jengelh repository"

this breaks detection of scmsync projects. Jan can live with not synced
git for a few weeks

This reverts commit 44b4d690db.
This commit is contained in:
2025-02-28 16:14:58 +01:00
parent 44b4d690db
commit 9fee585897

View File

@@ -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