Show More
@@ -52,7 +52,7 b' class abstractvfs(object):' | |||
|
52 | 52 | |
|
53 | 53 | def __init__(self, *args, **kwargs): |
|
54 | 54 | '''Prevent instantiation; don't call this from subclasses.''' |
|
55 |
raise NotImplementedError( |
|
|
55 | raise NotImplementedError('attempted instantiating ' + str(type(self))) | |
|
56 | 56 | |
|
57 | 57 | def _auditpath(self, path, mode): |
|
58 | 58 | raise NotImplementedError |
@@ -589,10 +589,10 b' class closewrapbase(object):' | |||
|
589 | 589 | return self |
|
590 | 590 | |
|
591 | 591 | def __exit__(self, exc_type, exc_value, exc_tb): |
|
592 |
raise NotImplementedError( |
|
|
592 | raise NotImplementedError('attempted instantiating ' + str(type(self))) | |
|
593 | 593 | |
|
594 | 594 | def close(self): |
|
595 |
raise NotImplementedError( |
|
|
595 | raise NotImplementedError('attempted instantiating ' + str(type(self))) | |
|
596 | 596 | |
|
597 | 597 | |
|
598 | 598 | class delayclosedfile(closewrapbase): |
General Comments 0
You need to be logged in to leave comments.
Login now