(self)
| 40 | logger.exception("Unable to load configuration at '{0}'.".format(self.path)) |
| 41 | |
| 42 | def write(self): |
| 43 | if self._dirty: |
| 44 | json.dump(self._data, open(self.path, "w"), sort_keys=True, indent=4, separators=(",", ": ")) |
| 45 | self._dirty = False |
| 46 | logger.debug("Saved configuration at {0}".format(self.path)) |
no test coverage detected