##// END OF EJS Templates
posix: add a pytype suppression...
Augie Fackler -
r43778:147576a4 default
parent child Browse files
Show More
@@ -323,7 +323,10 b' def checklink(path):'
323 fullpath = os.path.join(cachedir, target)
323 fullpath = os.path.join(cachedir, target)
324 open(fullpath, b'w').close()
324 open(fullpath, b'w').close()
325 except IOError as inst:
325 except IOError as inst:
326 if inst[0] == errno.EACCES:
326 if (
327 inst[0] # pytype: disable=unsupported-operands
328 == errno.EACCES
329 ):
327 # If we can't write to cachedir, just pretend
330 # If we can't write to cachedir, just pretend
328 # that the fs is readonly and by association
331 # that the fs is readonly and by association
329 # that the fs won't support symlinks. This
332 # that the fs won't support symlinks. This
General Comments 0
You need to be logged in to leave comments. Login now