Patchwork D7264: vfs: fix erroneous bytes constants

login
register
mail settings
Submitter phabricator
Date Nov. 7, 2019, 8:31 a.m.
Message ID <016b72a3efd617809cdc3d371c5089c0@localhost.localdomain>
Download mbox | patch
Permalink /patch/42862/
State Not Applicable
Headers show

Comments

phabricator - Nov. 7, 2019, 8:31 a.m.
Closed by commit rHG2dcd4e773193: vfs: fix erroneous bytes constants (authored by durin42).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7264?vs=17634&id=17681

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7264/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7264

AFFECTED FILES
  mercurial/vfs.py

CHANGE DETAILS




To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel

Patch

diff --git a/mercurial/vfs.py b/mercurial/vfs.py
--- a/mercurial/vfs.py
+++ b/mercurial/vfs.py
@@ -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):