(self)
| 81 | # pylint: disable=abstract-method |
| 82 | |
| 83 | def chdir(self): |
| 84 | # chdir to the configured path before loading, |
| 85 | # default is the current dir |
| 86 | os.chdir(self.cfg.chdir) |
| 87 | |
| 88 | # add the path to sys.path |
| 89 | if self.cfg.chdir not in sys.path: |
| 90 | sys.path.insert(0, self.cfg.chdir) |
| 91 | |
| 92 | def get_config_from_filename(self, filename): |
| 93 |
no outgoing calls