correct a few comment lines
This commit is contained in:
parent
ce4718f1fb
commit
4dd0e24b00
2 changed files with 3 additions and 3 deletions
|
|
@ -472,7 +472,7 @@ def rmtree(path, logger=None, background=False):
|
|||
|
||||
def _rmtree_check():
|
||||
if not background:
|
||||
# caller will wait
|
||||
# caller will wait in background case
|
||||
_pid, status = os.waitpid(pid, 0)
|
||||
try:
|
||||
SimpleProxyLogger.send(logfile, logger)
|
||||
|
|
@ -483,7 +483,7 @@ def rmtree(path, logger=None, background=False):
|
|||
except Exception:
|
||||
pass
|
||||
if not background:
|
||||
# caller should check status
|
||||
# caller should check status in background case
|
||||
if not isSuccess(status):
|
||||
raise koji.GenericError(parseStatus(status, "rmtree process"))
|
||||
if os.path.exists(path):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue