From daee1d319a7c537f2fa282cec8214412aa9ec7a5 Mon Sep 17 00:00:00 2001 From: "yujie.mao@intel.com" Date: Wed, 18 Dec 2013 11:55:03 +0000 Subject: [PATCH] Fix TypeError: cannot concatenate 'str' and 'int' objects BUG=None TEST=Error log print Review URL: https://codereview.chromium.org/112123003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@241544 0039d316-1c4b-4281-b951-d872f2087c98 --- git_cl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_cl.py b/git_cl.py index 5675104d65..4ef4c4630a 100755 --- a/git_cl.py +++ b/git_cl.py @@ -654,7 +654,7 @@ or verify this branch is set up to track another (via the --track argument to 'this command again.') % issue) else: DieWithError( - '\nFailed to fetch issue description. HTTP error ' + e.code) + '\nFailed to fetch issue description. HTTP error %d' % e.code) self.has_description = True if pretty: wrapper = textwrap.TextWrapper()