whosonfirst / whosonfirst-www-spelunker

A simple Flask-based spelunker for poking around Who's On First data
BSD 3-Clause "New" or "Revised" License
7 stars 9 forks source link

Where did `machinetag.elasticsearch.escape` go? #102

Closed thisisaaronland closed 7 years ago

thisisaaronland commented 7 years ago
  File "/usr/local/mapzen/whosonfirst-www-spelunker/www/server.py", line 1289, in machinetag_hierarchies
    include_filter, exclude_filter, rsp_filter = machinetag.elasticsearch.hierarchy.query_filters(**kwargs)
  File "/usr/local/lib/python2.7/dist-packages/machinetag/elasticsearch/hierarchy/__init__.py", line 179, in query_filters
    esc_value = machinetag.elasticsearch.escape(kwargs['value'])
AttributeError: 'module' object has no attribute 'escape'
thisisaaronland commented 7 years ago

Fixed in https://github.com/whosonfirst/py-machinetag/commit/a51a6e5942d8f346ef801035172fe199379f2885