Esempio 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)
Esempio n. 2
0
File: main.py Progetto: 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)