Пример #1
0
 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))
Пример #2
0
 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))