mozilla / elasticutils

[deprecated] A friendly chainable ElasticSearch interface for python
http://elasticutils.rtfd.org
BSD 3-Clause "New" or "Revised" License
243 stars 76 forks source link

elasticutils/contrib/django init uses 'six' but does not import it #276

Open ferdynice opened 9 years ago

ferdynice commented 9 years ago

Some methods use 'six' without importing, resulting in the following error in certain cases: NameError: global name 'six' is not defined

This is the case for: MappingType#get_index(...) S#get_indexes(...)

willkg commented 9 years ago

If you want to do a PR for it, that'd be great. Otherwise I'll get to this at some point, but no promises as to when.