even better
This commit is contained in:
+1
-1
@@ -156,7 +156,7 @@ class TeeOutFile:
|
|||||||
# use of ctx.stdout, and use run_batch()'s return
|
# use of ctx.stdout, and use run_batch()'s return
|
||||||
# values instead. but this is good enough :)
|
# values instead. but this is good enough :)
|
||||||
def run_logged(cmd):
|
def run_logged(cmd):
|
||||||
"""run command and get return value"""
|
"""Run command and get the return value."""
|
||||||
ctx.ui.info(_('Running ') + cmd, verbose=True)
|
ctx.ui.info(_('Running ') + cmd, verbose=True)
|
||||||
if ctx.stdout:
|
if ctx.stdout:
|
||||||
stdout = ctx.stdout
|
stdout = ctx.stdout
|
||||||
|
|||||||
Reference in New Issue
Block a user