Only stop importing when it isn't a jengelh repository
This commit is contained in:
parent
a69e861614
commit
44b4d690db
@ -268,9 +268,12 @@ class Importer:
|
||||
return self.scmsync_cache[key]
|
||||
|
||||
root = self.obs._meta(key)
|
||||
scmsync = None
|
||||
scmsync_exists = False
|
||||
if root is not None:
|
||||
scmsync_exists = root.find('scmsync') is not None
|
||||
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/')
|
||||
self.scmsync_cache[key] = scmsync_exists
|
||||
return scmsync_exists
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user