From de8a338379703047c17997f5035e94ad0b0bafa9 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 14 Mar 2012 07:45:39 -0400 Subject: [PATCH] Add external command invocations to debugging output. --- update_copyright/vcs/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update_copyright/vcs/utils.py b/update_copyright/vcs/utils.py index ada2ec0..024568e 100644 --- a/update_copyright/vcs/utils.py +++ b/update_copyright/vcs/utils.py @@ -23,6 +23,7 @@ import os.path as _os_path import subprocess as _subprocess import sys as _sys +from .. import LOG as LOG from ..utils import ENCODING as _ENCODING @@ -39,6 +40,7 @@ def invoke(args, stdin=None, stdout=_subprocess.PIPE, stderr=_subprocess.PIPE, When ``unicode_output`` is ``True``, convert stdout and stdin strings to unicode before returing them. """ + LOG.debug('{}$ {}'.format(cwd, args)) try : if _POSIX: q = _subprocess.Popen(args, stdin=_subprocess.PIPE, -- 2.26.2