Show More
@@ -919,7 +919,9 b' class opener(object):' | |||||
919 | fd = open(f) |
|
919 | fd = open(f) | |
920 | nlink = nlinks(f) |
|
920 | nlink = nlinks(f) | |
921 | fd.close() |
|
921 | fd.close() | |
922 | except (OSError, IOError): |
|
922 | except (OSError, IOError), e: | |
|
923 | if e.errno != errno.ENOENT: | |||
|
924 | raise | |||
923 | nlink = 0 |
|
925 | nlink = 0 | |
924 | if not os.path.isdir(dirname): |
|
926 | if not os.path.isdir(dirname): | |
925 | makedirs(dirname, self.createmode) |
|
927 | makedirs(dirname, self.createmode) |
General Comments 0
You need to be logged in to leave comments.
Login now