From 2f64f78a073e6e20e6d81d798c976904fb09896c Mon Sep 17 00:00:00 2001 From: "pgervais@chromium.org" Date: Fri, 25 Apr 2014 00:12:33 +0000 Subject: [PATCH] logged changed paths list This should help debugging should presubmit failures on a CQ. BUG= Review URL: https://codereview.chromium.org/250383006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@266063 0039d316-1c4b-4281-b951-d872f2087c98 --- presubmit_support.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/presubmit_support.py b/presubmit_support.py index 556948595..594ac6878 100755 --- a/presubmit_support.py +++ b/presubmit_support.py @@ -385,7 +385,9 @@ class InputApi(object): def LocalPaths(self, include_dirs=False): """Returns local paths of input_api.AffectedFiles().""" - return [af.LocalPath() for af in self.AffectedFiles(include_dirs)] + paths = [af.LocalPath() for af in self.AffectedFiles(include_dirs)] + logging.debug("LocalPaths: %s", paths) + return paths def AbsoluteLocalPaths(self, include_dirs=False): """Returns absolute local paths of input_api.AffectedFiles()."""