Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

run: fix bug report generation from a configuration error

Changeset 97ae5971aa42

Parent 1c9748c2e6da

by Steve Borho

Changes to one file · Browse files at 97ae5971aa42 Showing diff from parent 1c9748c2e6da Diff from another changeset...

 
52
53
54
 
 
55
56
57
 
59
60
61
62
 
63
64
65
66
67
68
 
69
70
71
 
52
53
54
55
56
57
58
59
 
61
62
63
 
64
65
66
 
67
68
 
69
70
71
72
@@ -52,6 +52,8 @@
  opts = {}   opts['cmd'] = ' '.join(sys.argv[1:])   opts['values'] = e + opts['error'] = traceback.format_exc() + opts['nofork'] = True   errstring = _('Error string "%(arg0)s" at %(arg1)s<br>Please '   '<a href="#edit:%(arg1)s">edit</a> your config')   main = QApplication(sys.argv) @@ -59,13 +61,12 @@
  parent=None)   dlg.exec_()   except Exception, e: - print e + # generic errors before the QApplication is started   if '--debugger' in args:   pdb.post_mortem(sys.exc_info()[2]) - errstr = traceback.format_exc()   opts = {}   opts['cmd'] = ' '.join(sys.argv[1:]) - opts['error'] = errstr + opts['error'] = traceback.format_exc()   opts['nofork'] = True   return qtrun(bugrun, u, **opts)   except SystemExit: