Show More
@@ -161,6 +161,8 b' def os_link(src, dst):' | |||||
161 | 'move the file to a different disk drive')) |
|
161 | 'move the file to a different disk drive')) | |
162 | except pywintypes.error, details: |
|
162 | except pywintypes.error, details: | |
163 | raise WinOSError(details) |
|
163 | raise WinOSError(details) | |
|
164 | except NotImplementedError: # Another fake error win Win98 | |||
|
165 | raise WinOSError((18, 'CreateHardLink', 'Hardlinking not supported')) | |||
164 |
|
166 | |||
165 | def nlinks(pathname): |
|
167 | def nlinks(pathname): | |
166 | """Return number of hardlinks for the given file.""" |
|
168 | """Return number of hardlinks for the given file.""" |
General Comments 0
You need to be logged in to leave comments.
Login now