Fix regression in book equality test in usbms

This commit is contained in:
Charles Haley 2010-06-11 14:56:14 +01:00
parent c75c533175
commit b3b6741156

View File

@ -47,7 +47,7 @@ class Book(MetaInformation):
def __eq__(self, other):
# use lpath because the prefix can change, changing path
return self.path == getattr(other, 'lpath', None)
return self.lpath == getattr(other, 'lpath', None)
@dynamic_property
def db_id(self):