Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0.2, 1.0.3, and 1.0.4

stable bugreport: get_error_text: catch AttributeError

seems to happen if win32api.GetNativeSystemInfo is not available

Changeset 05950a39ef68

Parent 878b522c6228

by Adrian Buehlmann

Changes to one file · Browse files at 05950a39ef68 Showing diff from parent 878b522c6228 Diff from another changeset...

 
74
75
76
77
 
78
79
80
 
74
75
76
 
77
78
79
80
@@ -74,7 +74,7 @@
  arch = 'x64'   elif archval == 0:   arch = 'x86' - except ImportError: + except (ImportError, AttributeError):   pass   text += '** Processor architecture: %s\n' % arch   text += self.opts['error']