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