浏览代码

Add python's version in breakpad stack traces

BUG=
TEST=

Review URL: http://codereview.chromium.org/5131005

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@67314 0039d316-1c4b-4281-b951-d872f2087c98
maruel@chromium.org 14 年之前
父节点
当前提交
a7a1a83bf0
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      breakpad.py

+ 1 - 0
breakpad.py

@@ -68,6 +68,7 @@ def SendStack(last_tb, stack, url=None):
         'exception': FormatException(last_tb),
         'host': socket.getfqdn(),
         'cwd': os.getcwd(),
+        'version': sys.version,
     }
     # pylint: disable=W0702
     print('\n'.join('  %s: %s' % (k, v[0:50]) for k, v in params.iteritems()))