mirror of https://git.sr.ht/~sircmpwn/hub.sr.ht
services.py: check for missing repositories
This commit is contained in:
parent
9154800871
commit
de0182c2c1
|
@ -130,6 +130,8 @@ class GitService(SrhtService):
|
|||
"repoId": repo_id,
|
||||
},
|
||||
})
|
||||
if not r["data"]["repository"]:
|
||||
raise Exception(f"git.sr.ht did not find repo ID {repo_id} (requesting on behalf of {user.username})")
|
||||
manifests = dict()
|
||||
if r["data"]["repository"]["multiple"]:
|
||||
for ent in r["data"]["repository"]["multiple"]["object"]\
|
||||
|
|
Loading…
Reference in New Issue