Mercurial > hg
changeset 43466:2dcd4e773193
vfs: fix erroneous bytes constants
Detected with pytype.
Differential Revision: https://phab.mercurial-scm.org/D7264
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 06 Nov 2019 15:19:56 -0500 |
parents | 90aac60b6697 |
children | b16912f8c07c |
files | mercurial/vfs.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/vfs.py Wed Nov 06 15:17:38 2019 -0500 +++ b/mercurial/vfs.py Wed Nov 06 15:19:56 2019 -0500 @@ -52,7 +52,7 @@ def __init__(self, *args, **kwargs): '''Prevent instantiation; don't call this from subclasses.''' - raise NotImplementedError(b'attempted instantiating ' + str(type(self))) + raise NotImplementedError('attempted instantiating ' + str(type(self))) def _auditpath(self, path, mode): raise NotImplementedError @@ -589,10 +589,10 @@ return self def __exit__(self, exc_type, exc_value, exc_tb): - raise NotImplementedError(b'attempted instantiating ' + str(type(self))) + raise NotImplementedError('attempted instantiating ' + str(type(self))) def close(self): - raise NotImplementedError(b'attempted instantiating ' + str(type(self))) + raise NotImplementedError('attempted instantiating ' + str(type(self))) class delayclosedfile(closewrapbase):