Skip to content

Commit

Permalink
Typo fix and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
evansd committed Nov 12, 2013
1 parent 2928129 commit 44717c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sunburnt/schema.py
Expand Up @@ -551,7 +551,8 @@ def parse_result_doc(self, doc, name=None):

def parse_result_doc_json(self, doc):
# Note: for efficiency's sake this modifies the original dict
# in place
# in place. This doesn't make much difference on 20 documents
# but it does on 20,000
for name, value in doc.viewitems():
field_class = self.match_field(name)
# If the field type is a string then we don't need to modify it
Expand Down Expand Up @@ -763,8 +764,7 @@ def from_json(cls, schema, jsonmsg):
if len(interesting_terms) == 1:
self.interesting_terms = interesting_terms.values()[0]
else:
self.interetsing_terms = None
self.interesting_terms = None
self.interesting_terms = None
return self

def __str__(self):
Expand Down

0 comments on commit 44717c7

Please sign in to comment.