Permalink
Browse files

Fix variable name bug

  • Loading branch information...
1 parent 2b8aa6b commit 5647ca70bb98c4369f566acd0b9ab2c3d6f25aba @rozza rozza committed Apr 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mongoengine/queryset.py
View
@@ -498,7 +498,7 @@ def _collection(self):
background = self._document._meta.get('index_background', False)
drop_dups = self._document._meta.get('index_drop_dups', False)
- index_opts = self._document._meta.get('index_options', {})
+ index_opts = self._document._meta.get('index_opts', {})
index_types = self._document._meta.get('index_types', True)
# determine if an index which we are creating includes

0 comments on commit 5647ca7

Please sign in to comment.