Exemplo n.º 1
0
 def stat_ceph_conf(self):
     try:
         configuration.load(conf.path)
         return terminal.green(conf.path)
     except exceptions.ConfigurationError as error:
         return terminal.red(error)
Exemplo n.º 2
0
Arquivo: main.py Projeto: dmick/ceph
 def stat_ceph_conf(self):
     try:
         configuration.load(conf.path)
         return terminal.green(conf.path)
     except exceptions.ConfigurationError as error:
         return terminal.red(error)