Show More
@@ -160,7 +160,7 b' class abstractopener(object):' | |||||
160 | raise NotImplementedError('attempted instantiating ' + str(type(self))) |
|
160 | raise NotImplementedError('attempted instantiating ' + str(type(self))) | |
161 |
|
161 | |||
162 | def tryread(self, path): |
|
162 | def tryread(self, path): | |
163 | 'gracefully return an empty string for missing files' |
|
163 | '''gracefully return an empty string for missing files''' | |
164 | try: |
|
164 | try: | |
165 | return self.read(path) |
|
165 | return self.read(path) | |
166 | except IOError, inst: |
|
166 | except IOError, inst: |
General Comments 0
You need to be logged in to leave comments.
Login now