mirror of
https://git.sr.ht/~sircmpwn/hub.sr.ht
synced 2024-09-12 21:30:36 +02:00
Delete second declaration of create_tracker
This commit is contained in:
parent
8c5aef62b0
commit
502afdd0e1
1 changed files with 0 additions and 10 deletions
|
@ -386,16 +386,6 @@ class TodoService(SrhtService):
|
|||
except:
|
||||
pass # nbd, upstream was presumably deleted
|
||||
|
||||
def create_tracker(self, user, valid):
|
||||
name = valid.require("name")
|
||||
description = valid.optional("description")
|
||||
if not valid.ok:
|
||||
return None
|
||||
return self.post(user, valid, f"{_todosrht}/api/trackers", {
|
||||
"name": name,
|
||||
"description": description,
|
||||
})
|
||||
|
||||
class BuildService(SrhtService):
|
||||
def submit_build(self, user, manifest, note, tags, execute=True):
|
||||
return self.post(user, None, f"{_buildsrht}/api/jobs", {
|
||||
|
|
Loading…
Reference in a new issue