def __init__(self, config):
     ResourceLocator.__init__(self, config)
     fpath = os.path.dirname(__file__) + "/" + self._get_config_value('aws_config')
     f = open(fpath)
     self._dataMap = yaml.safe_load(f)
     # todo: error handling of this file loading
     # todo: move to file loading utility
     f.close()
示例#2
0
 def __init__(self, config):
     ResourceLocator.__init__(self, config)
     fpath = os.path.dirname(__file__) + "/" + self._get_config_value(
         'aws_config')
     f = open(fpath)
     self._dataMap = yaml.safe_load(f)
     # todo: error handling of this file loading
     # todo: move to file loading utility
     f.close()
示例#3
0
 def __init__(self, config):
     ResourceLocator.__init__(self, config)
 def __init__(self, config):
     ResourceLocator.__init__(self, config)