projects
/
update-copyright.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
294725f
)
Add external command invocations to debugging output.
author
W. Trevor King
<wking@drexel.edu>
Wed, 14 Mar 2012 11:45:39 +0000
(07:45 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 14 Mar 2012 11:45:39 +0000
(07:45 -0400)
update_copyright/vcs/utils.py
patch
|
blob
|
history
diff --git
a/update_copyright/vcs/utils.py
b/update_copyright/vcs/utils.py
index ada2ec03b79a9a0398b71342f64d3d3ae1bad7a8..024568eae143851d294b4a47f65eb1e90638d04f 100644
(file)
--- 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,