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

Merged
dirkmueller merged 1 commits from adamm/main AGit into main 2025-02-28 21:02:04 +01:00

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