[mod] neither

This commit is contained in:
Laurent Peuch 2018-07-21 08:44:05 +02:00
parent 1d2a1ed749
commit c49e9322c4
2 changed files with 0 additions and 4 deletions

View file

@ -16,7 +16,6 @@ class Repo(peewee.Model):
class Job(peewee.Model):
name = peewee.CharField()
url_or_path = peewee.CharField()
yunohost_version = peewee.CharField()
state = peewee.CharField(choices=(
('scheduled', 'Scheduled'),

3
run.py
View file

@ -115,7 +115,6 @@ async def monitor_apps_lists():
job = Job.create(
name=f"{app_id} ({app_list_name})",
url_or_path=repo.url,
yunohost_version="stretch-stable",
state="scheduled",
)
@ -140,7 +139,6 @@ async def monitor_apps_lists():
job = Job.create(
name=f"{app_id} ({app_list_name})",
url_or_path=repo.url,
yunohost_version="stretch-stable",
state="scheduled",
)
@ -318,7 +316,6 @@ async def api_new_job(request):
name=request.json["name"],
url_or_path=request.json["url_or_path"],
type=request.json.get("test_type", "stable"),
yunohost_version=request.json.get("yunohost_version", "unstable"),
debian_version=request.json.get("debian_version", "stretch"),
)