From 8bb7257ecc30ea6d291105532fa308dc531d1755 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Mon, 26 Jun 2017 16:07:53 +0200 Subject: [PATCH] libkas: Fix some comments Typo and a missing verb. Signed-off-by: Jan Kiszka --- kas/libkas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kas/libkas.py b/kas/libkas.py index 9fe23a9..1b16afc 100644 --- a/kas/libkas.py +++ b/kas/libkas.py @@ -64,7 +64,7 @@ class LogOutput: @asyncio.coroutine def _read_stream(stream, callback): """ - This asynchronious method reads from the output stream of the + This asynchronous method reads from the output stream of the application and transfers each line to the callback function. """ while True: @@ -177,7 +177,7 @@ def repo_fetch(config, repo): run_cmd(cmd, env=config.environ, cwd=config.kas_work_dir) return - # Does refspec in the current repository? + # Does refspec exist in the current repository? (retc, output) = run_cmd(['/usr/bin/git', 'cat-file', '-t', repo.refspec], env=config.environ, cwd=repo.path, fail=False)