Skip to content

Commit

Permalink
Fix document __ne__
Browse files Browse the repository at this point in the history
  • Loading branch information
millar committed Jul 19, 2014
1 parent 7502b77 commit 47dad5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions provstore/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ def __eq__(self, other):
if not isinstance(other, Document):
return False

return self._api == other._api and self._id == other._id
return self._api == other._api and self.id == other.id


def __ne__(self, other):
return self == other
return not self == other


# Abstract methods
Expand Down

0 comments on commit 47dad5f

Please sign in to comment.