libkas: Fix some comments

Typo and a missing verb.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
Jan Kiszka 2017-06-26 16:07:53 +02:00 committed by Daniel Wagner
parent 47e8a0730f
commit 8bb7257ecc

View File

@ -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)