From 16d143bffa3c5dcd580abd8a3c4209c2108ade43 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karl=20Hasselstr=C3=B6m?= Date: Wed, 23 Jul 2008 23:29:10 +0200 Subject: [PATCH] Show full command in subprocess profiling MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Showing just the executable name isn't so useful now that it's always "git". Signed-off-by: Karl Hasselström --- stgit/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stgit/run.py b/stgit/run.py index 9d50e43..befd3c1 100644 --- a/stgit/run.py +++ b/stgit/run.py @@ -65,7 +65,7 @@ class Run: if k not in os.environ or os.environ[k] != self.__env[k]: _logfile.info('%s: %s' % (k, self.__env[k])) elif _log_mode == 'profile': - _logfile.start('Running subprocess %s' % self.__cmd[0]) + _logfile.start('Running subprocess %s' % self.__cmd) self.__starttime = datetime.datetime.now() def __log_end(self, retcode): if _log_mode == 'debug': -- 2.11.0