Show More
@@ -182,14 +182,16 b' def checklink(path):' | |||
|
182 | 182 | # link creation might race, try again |
|
183 | 183 | if inst[0] == errno.EEXIST: |
|
184 | 184 | continue |
|
185 | raise | |
|
186 | finally: | |
|
187 | fd.close() | |
|
188 | except AttributeError: | |
|
189 | return False | |
|
190 | except OSError as inst: | |
|
185 | 191 |
|
|
186 | 192 |
|
|
187 | 193 |
|
|
188 | 194 |
|
|
189 | finally: | |
|
190 | fd.close() | |
|
191 | except AttributeError: | |
|
192 | return False | |
|
193 | 195 | |
|
194 | 196 | def checkosfilename(path): |
|
195 | 197 | '''Check that the base-relative path is a valid filename on this platform. |
General Comments 0
You need to be logged in to leave comments.
Login now