Show More
@@ -324,10 +324,10 b' def walkrepos(path, followsym=False, see' | |||
|
324 | 324 | def errhandler(err): |
|
325 | 325 | if err.filename == path: |
|
326 | 326 | raise err |
|
327 |
|
|
|
327 | samestat = getattr(os.path, 'samestat', None) | |
|
328 | if followsym and samestat is not None: | |
|
328 | 329 | def adddir(dirlst, dirname): |
|
329 | 330 | match = False |
|
330 | samestat = os.path.samestat | |
|
331 | 331 | dirstat = os.stat(dirname) |
|
332 | 332 | for lstdirstat in dirlst: |
|
333 | 333 | if samestat(dirstat, lstdirstat): |
General Comments 0
You need to be logged in to leave comments.
Login now