diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-11-17 19:45:55 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-11-17 19:45:55 +0200 |
commit | 8ebc35efea0557283280004b308da24e7054d246 (patch) | |
tree | 0e9c444bf138066e2b5c89380ec65fe42c0a0e46 | |
parent | 1ff1ffceb9a1b6ed6c2bd9bbf8f8f55b8fe8a198 (diff) | |
download | muck-poc-8ebc35efea0557283280004b308da24e7054d246.tar.gz |
Fix: typo in function name
-rwxr-xr-x | muck_poc | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -153,18 +153,17 @@ class MuckAPI: return self._create_response(200, 'delete', meta, res) def _search_res(self, claims): - def is_showble(rid): + def is_showable(rid): try: meta, res = self._get_existing(rid) except bottle.HTTPError as e: return False - return self._access_is_allowed(meta, claims): + return self._access_is_allowed(meta, claims) body = self._get_json_body() cond = body.get('cond') ms = self._store.get_memory_store() - hits = ms.search(cond) hits = [ rid for rid in ms.search(cond) |