equal
deleted
inserted
replaced
1850 editor = self.geteditor() |
1850 editor = self.geteditor() |
1851 |
1851 |
1852 self.system( |
1852 self.system( |
1853 b"%s \"%s\"" % (editor, name), |
1853 b"%s \"%s\"" % (editor, name), |
1854 environ=environ, |
1854 environ=environ, |
1855 onerr=error.Abort, |
1855 onerr=error.CanceledError, |
1856 errprefix=_(b"edit failed"), |
1856 errprefix=_(b"edit failed"), |
1857 blockedtag=b'editor', |
1857 blockedtag=b'editor', |
1858 ) |
1858 ) |
1859 |
1859 |
1860 with open(name, 'rb') as f: |
1860 with open(name, 'rb') as f: |