mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[mod] remove some useless output
This commit is contained in:
parent
312bf06ed8
commit
3bd715bb8d
1 changed files with 0 additions and 3 deletions
3
run.py
3
run.py
|
@ -64,7 +64,6 @@ async def initialize_app_list():
|
||||||
|
|
||||||
for app_id, app_data in data.items():
|
for app_id, app_data in data.items():
|
||||||
if app_id in repos:
|
if app_id in repos:
|
||||||
# print(f"déjà là: {app_id}")
|
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
print(f"New application detected: {app_id} in {app_list}")
|
print(f"New application detected: {app_id} in {app_list}")
|
||||||
|
@ -84,7 +83,6 @@ async def initialize_app_list():
|
||||||
state="scheduled",
|
state="scheduled",
|
||||||
)
|
)
|
||||||
|
|
||||||
print(job)
|
|
||||||
await broadcast({
|
await broadcast({
|
||||||
"action": "new_job",
|
"action": "new_job",
|
||||||
"data": model_to_dict(job),
|
"data": model_to_dict(job),
|
||||||
|
@ -118,7 +116,6 @@ async def jobs_dispatcher():
|
||||||
|
|
||||||
job.state = "running"
|
job.state = "running"
|
||||||
job.started_time = datetime.now()
|
job.started_time = datetime.now()
|
||||||
print(job)
|
|
||||||
job.save()
|
job.save()
|
||||||
|
|
||||||
worker.state = "busy"
|
worker.state = "busy"
|
||||||
|
|
Loading…
Add table
Reference in a new issue