Skip to content

Commit

Permalink
Fix a comment and a test
Browse files Browse the repository at this point in the history
  • Loading branch information
willkg committed Feb 1, 2018
1 parent d505b6b commit 6d5231c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion socorro/external/es/crashstorage.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def get_fields_by_analyzer(fields, analyzer):
Note: This "hashes" the fields argument by using `id`. I think this is fine
because fields doesn't change between runs and it's not mutated in-place.
We're we're hashing it sufficiently often that it's faster to use `id` than
We're hashing it sufficiently often that it's faster to use `id` than
a more computationally intensive hash of a large data structure.
:arg dict fields: dict of field information mapped as field name to
Expand Down
2 changes: 1 addition & 1 deletion socorro/unittest/external/es/test_crashstorage.py
Original file line number Diff line number Diff line change
Expand Up @@ -1146,5 +1146,5 @@ def test_fields_handling(self, fields):
}
data = deepcopy(original_data)

truncate_keyword_field_values(fields, data)
convert_booleans(fields, data)
assert original_data == data

0 comments on commit 6d5231c

Please sign in to comment.