Commits

Steve Borho committed c7d96b0

bugreport: include Python version in bug report

Comments (0)

Files changed (1)

tortoisehg/hgtk/bugreport.py

             text += '** CWD: %s\n' % os.getcwd()
             extlist = [x[0] for x in extensions.extensions()]
             text += '** Extensions loaded: %s\n' % ', '.join(extlist)
+            text += '** Python %s\n' % sys.version.replace('\n', '')
             if os.name == 'nt':
                 text += '** sys.getwindowsversion(): %s\n' % str(sys.getwindowsversion())
                 arch = 'unknown (failed to import win32api)'