def _dump(self): # main config for key in sorted(self._keys): log_main.debug("config: [vamos] %s = %s", key, getattr(self,key)) # lib configs for lib in sorted(self.libs): cfg = self.libs[lib] for key in sorted(cfg._keys): log_main.debug("config: [%s] %s = %s", lib, key, getattr(cfg,key))
def _dump(self): # main config for key in sorted(self._keys): log_main.debug("config: [vamos] %s = %s", key, getattr(self, key)) # lib configs for lib in sorted(self.libs): cfg = self.libs[lib] for key in sorted(cfg._keys): log_main.debug("config: [%s] %s = %s", lib, key, getattr(cfg, key))