##// END OF EJS Templates
vfs: add a NotImplementedError implementation of __call__...
Augie Fackler -
r43768:b16912f8 default
parent child Browse files
Show More
@@ -54,6 +54,9 b' class abstractvfs(object):'
54 '''Prevent instantiation; don't call this from subclasses.'''
54 '''Prevent instantiation; don't call this from subclasses.'''
55 raise NotImplementedError('attempted instantiating ' + str(type(self)))
55 raise NotImplementedError('attempted instantiating ' + str(type(self)))
56
56
57 def __call__(self, path, mode=b'rb', **kwargs):
58 raise NotImplementedError
59
57 def _auditpath(self, path, mode):
60 def _auditpath(self, path, mode):
58 raise NotImplementedError
61 raise NotImplementedError
59
62
General Comments 0
You need to be logged in to leave comments. Login now