Show More
@@ -842,11 +842,9 class opener(object): | |||||
842 | self.audit_path = always |
|
842 | self.audit_path = always | |
843 | self.createmode = None |
|
843 | self.createmode = None | |
844 |
|
844 | |||
845 | def __getattr__(self, name): |
|
845 | @propertycache | |
846 |
|
|
846 | def _can_symlink(self): | |
847 |
|
|
847 | return checklink(self.base) | |
848 | return self._can_symlink |
|
|||
849 | raise AttributeError(name) |
|
|||
850 |
|
848 | |||
851 | def _fixfilemode(self, name): |
|
849 | def _fixfilemode(self, name): | |
852 | if self.createmode is None: |
|
850 | if self.createmode is None: |
General Comments 0
You need to be logged in to leave comments.
Login now