##// END OF EJS Templates
vfs: fix erroneous bytes constants...
Augie Fackler -
r43767:2dcd4e77 default
parent child Browse files
Show More
@@ -52,7 +52,7 b' class abstractvfs(object):'
52
52
53 def __init__(self, *args, **kwargs):
53 def __init__(self, *args, **kwargs):
54 '''Prevent instantiation; don't call this from subclasses.'''
54 '''Prevent instantiation; don't call this from subclasses.'''
55 raise NotImplementedError(b'attempted instantiating ' + str(type(self)))
55 raise NotImplementedError('attempted instantiating ' + str(type(self)))
56
56
57 def _auditpath(self, path, mode):
57 def _auditpath(self, path, mode):
58 raise NotImplementedError
58 raise NotImplementedError
@@ -589,10 +589,10 b' class closewrapbase(object):'
589 return self
589 return self
590
590
591 def __exit__(self, exc_type, exc_value, exc_tb):
591 def __exit__(self, exc_type, exc_value, exc_tb):
592 raise NotImplementedError(b'attempted instantiating ' + str(type(self)))
592 raise NotImplementedError('attempted instantiating ' + str(type(self)))
593
593
594 def close(self):
594 def close(self):
595 raise NotImplementedError(b'attempted instantiating ' + str(type(self)))
595 raise NotImplementedError('attempted instantiating ' + str(type(self)))
596
596
597
597
598 class delayclosedfile(closewrapbase):
598 class delayclosedfile(closewrapbase):
General Comments 0
You need to be logged in to leave comments. Login now