Merge pull request #339 from CartoDB/obs-getdata-getmeta-wrappers

Obs_GetData OBS_GetMeta wrappers
This commit is contained in:
Mario de Frutos
2017-02-01 10:05:52 +01:00
committed by GitHub
8 changed files with 377 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ class RedisDBConfig:
key)
conf = self._db_conn.execute(conf_query)[0]['conf']
if conf is None:
raise "There is no redis configuration defined"
raise Exception("There is no redis configuration defined")
else:
params = json.loads(conf)
self._host = params['redis_host']