Show More
@@ -396,14 +396,13 b' class fsbackend(abstractbackend):' | |||
|
396 | 396 | path = self._join(fname) |
|
397 | 397 | if os.path.islink(path): |
|
398 | 398 | return (os.readlink(path), (True, False)) |
|
399 |
isexec |
|
|
399 | isexec = False | |
|
400 | 400 | try: |
|
401 | 401 | isexec = os.lstat(path).st_mode & 0100 != 0 |
|
402 | islink = os.path.islink(path) | |
|
403 | 402 | except OSError, e: |
|
404 | 403 | if e.errno != errno.ENOENT: |
|
405 | 404 | raise |
|
406 |
return (self.opener.read(fname), ( |
|
|
405 | return (self.opener.read(fname), (False, isexec)) | |
|
407 | 406 | |
|
408 | 407 | def setfile(self, fname, data, mode, copysource): |
|
409 | 408 | islink, isexec = mode |
General Comments 0
You need to be logged in to leave comments.
Login now