libkas: Fix some comments
Typo and a missing verb. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
47e8a0730f
commit
8bb7257ecc
@ -64,7 +64,7 @@ class LogOutput:
|
|||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def _read_stream(stream, callback):
|
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.
|
application and transfers each line to the callback function.
|
||||||
"""
|
"""
|
||||||
while True:
|
while True:
|
||||||
@ -177,7 +177,7 @@ def repo_fetch(config, repo):
|
|||||||
run_cmd(cmd, env=config.environ, cwd=config.kas_work_dir)
|
run_cmd(cmd, env=config.environ, cwd=config.kas_work_dir)
|
||||||
return
|
return
|
||||||
|
|
||||||
# Does refspec in the current repository?
|
# Does refspec exist in the current repository?
|
||||||
(retc, output) = run_cmd(['/usr/bin/git', 'cat-file',
|
(retc, output) = run_cmd(['/usr/bin/git', 'cat-file',
|
||||||
'-t', repo.refspec], env=config.environ,
|
'-t', repo.refspec], env=config.environ,
|
||||||
cwd=repo.path, fail=False)
|
cwd=repo.path, fail=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user