Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

settings: use wconfig to warn iniparse availability

Changeset a393c9fd9431

Parent 1d3f54398c33

by Yuya Nishihara

Changes to one file · Browse files at a393c9fd9431 Showing diff from parent 1d3f54398c33 Diff from another changeset...

 
503
504
505
506
507
508
509
 
510
511
512
 
503
504
505
 
 
 
 
506
507
508
509
@@ -503,10 +503,7 @@
  self.reject()   return   - try: - import iniparse - iniparse.INIConfig - except ImportError: + if not hasattr(wconfig.config(), 'write'):   qtlib.ErrorMsgBox(_('Iniparse package not found'),   _("Can't change settings without iniparse package - "   'view is readonly.'), parent=self)