Show More
@@ -913,6 +913,8 b' class opener(object):' | |||||
913 | # shares if the file is open. |
|
913 | # shares if the file is open. | |
914 | fd = open(f) |
|
914 | fd = open(f) | |
915 | nlink = nlinks(f) |
|
915 | nlink = nlinks(f) | |
|
916 | if nlink < 1: | |||
|
917 | nlink = 2 # force mktempcopy (issue1922) | |||
916 | fd.close() |
|
918 | fd.close() | |
917 | except (OSError, IOError): |
|
919 | except (OSError, IOError): | |
918 | nlink = 0 |
|
920 | nlink = 0 |
General Comments 0
You need to be logged in to leave comments.
Login now