Changeset c2f54c8739c8…
Parent bd842d036b1b…
by
Changes to one file · Browse files at c2f54c8739c8 Showing diff from parent bd842d036b1b Diff from another changeset...
@@ -370,7 +370,7 @@ self.repo.incrementBusyCount()
try:
wconfig.writefile(cfg, fn)
- except IOError, e:
+ except EnvironmentError, e:
qtlib.WarningMsgBox(_('Unable to write configuration file'),
hglib.tounicode(e), parent=self)
self.repo.decrementBusyCount()
@@ -460,7 +460,7 @@ try:
cfg.set('tortoisehg', 'postpull', self.getValue())
wconfig.writefile(cfg, fn)
- except IOError, e:
+ except EnvironmentError, e:
qtlib.WarningMsgBox(_('Unable to write configuration file'),
hglib.tounicode(e), parent=self)
self.repo.decrementBusyCount()
@@ -519,7 +519,7 @@ self.repo.incrementBusyCount()
try:
wconfig.writefile(cfg, fn)
- except IOError, e:
+ except EnvironmentError, e:
qtlib.WarningMsgBox(_('Unable to write configuration file'),
hglib.tounicode(e), parent=self)
self.repo.decrementBusyCount()
@@ -628,7 +628,7 @@ self.repo.incrementBusyCount()
try:
wconfig.writefile(cfg, fn)
- except IOError, e:
+ except EnvironmentError, e:
qtlib.WarningMsgBox(_('Unable to write configuration file'),
hglib.tounicode(e), parent=self)
self.repo.decrementBusyCount()
|
Loading...