Loads the configuration
(self)
| 27 | self.do_load_config() |
| 28 | |
| 29 | def do_load_config(self): |
| 30 | """ |
| 31 | Loads the configuration |
| 32 | """ |
| 33 | try: |
| 34 | self.load_default_config() |
| 35 | self.load_config() |
| 36 | except Exception as e: |
| 37 | print("\nError: %s" % str(e), file=sys.stderr) |
| 38 | sys.stderr.flush() |
| 39 | sys.exit(1) |
| 40 | |
| 41 | def load_default_config(self): |
| 42 | # init configuration |
no test coverage detected