Ver Fonte

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 há 14 anos atrás
pai
commit
a7a1a83bf0
1 ficheiros alterados com 1 adições e 0 exclusões
  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()))