Beispiel #1
0
 def __init__(self, config_path):
     with open(config_path, 'r') as f:
         cfg = yaml.load(f)
     try:
         self.storage = Storage(config=cfg)
     except Exception as err:
         log.error(err)
         raise FuseOSError(-100)