예제 #1
0
파일: main.py 프로젝트: zwj262310/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)
예제 #2
0
파일: main.py 프로젝트: 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)