Fix bogus len() call
This commit is contained in:
parent
ec577d53a9
commit
5f8ea10bc2
|
@ -46,7 +46,7 @@ class Shelf:
|
|||
return self.dict.keys()
|
||||
|
||||
def __len__(self):
|
||||
return self.dict.len()
|
||||
return len(self.dict)
|
||||
|
||||
def has_key(self, key):
|
||||
return self.dict.has_key(key)
|
||||
|
|
Loading…
Reference in New Issue