Skip to content

Commit

Permalink
'not X in Y' -> 'X not in Y'
Browse files Browse the repository at this point in the history
  • Loading branch information
tilgovi committed May 16, 2015
1 parent 42dc78e commit 4a46873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion annotator/elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def save(self, refresh=True):
_add_created(self)
_add_updated(self)

if not 'id' in self:
if 'id' not in self:
op_type = 'create'
else:
op_type = 'index'
Expand Down

0 comments on commit 4a46873

Please sign in to comment.