From 30353c1375b2d59d7f87040137040318f90a903e Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Mon, 10 Sep 2018 03:07:43 +0200 Subject: [PATCH] [mod] useless variables --- run.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/run.py b/run.py index 07b4f28..9f654e2 100644 --- a/run.py +++ b/run.py @@ -148,7 +148,6 @@ async def monitor_apps_lists(type="stable"): for app_list_name, url in APPS_LISTS.items(): async with aiohttp.ClientSession() as session: - app_list = "official" task_logger.info(f"Downloading {app_list_name}.json...") async with session.get(url) as resp: data = await resp.json() @@ -290,7 +289,6 @@ async def run_job(worker, job): while not command.stdout.at_eof(): data = await command.stdout.readline() - line = data.decode().rstrip() job.log += data.decode() # XXX seems to be okay performance wise but that's probably going to be @@ -577,6 +575,5 @@ def main(path_to_analyseCI, ssl=False, keyfile_path="/etc/yunohost/certs/ci-apps app.run('0.0.0.0', port=4242, ssl=context, debug=True) - if __name__ == "__main__": argh.dispatch_command(main)