Skip to content

Commit

Permalink
Fixed namespace errors
Browse files Browse the repository at this point in the history
  • Loading branch information
aparo committed Jun 20, 2014
1 parent 9c24d04 commit fd4146c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion performance/performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#sys.path.insert(0, "../")

#from pyes import ES
from brainaetic.echidnasearch.es import ES
from pyes.es import ES
from datetime import datetime
import shelve
conn = ES('127.0.0.1:9500')
Expand Down
2 changes: 1 addition & 1 deletion pyes/es.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ def ensure_index(self, index, mappings=None, settings=None, clear=False):
self.indices.put_mapping(doc_type=name, mapping=data, indices=index)

else:
from brainaetic.echidnasearch.mappings import DocumentObjectField, ObjectField
from pyes.mappings import DocumentObjectField, ObjectField

for maps in mappings:
if isinstance(maps, tuple):
Expand Down

0 comments on commit fd4146c

Please sign in to comment.