Commits

Steve Borho  committed 9be162b

hgignore: catch EnvironmentError atomictempfile.rename (closes #1759)

  • Participants
  • Parent commits bc0ba03
  • Branches hgtk

Comments (0)

Files changed (1)

File tortoisehg/hgtk/hgignore.py

                                     createmode=None)
             f.writelines(out)
             f.rename()
-        except IOError, e:
+        except EnvironmentError, e:
             dialog.error_dialog(self, _('Unable to write .hgignore file'),
                                 hglib.tounicode(str(e)))
         shlib.shell_notify([self.ignorefile])