(self, cwd)
| 101 | self._cwd = "" |
| 102 | |
| 103 | def make_relative(self, cwd): |
| 104 | if not cwd.endswith(("/", "\\")): |
| 105 | cwd += os.path.sep |
| 106 | assert self.filename.strpath.lower().startswith(cwd.lower()) |
| 107 | self._cwd = cwd |
| 108 | |
| 109 | def _get_relative_program(self): |
| 110 | assert self._cwd |
no outgoing calls