This commit is contained in:
Kovid Goyal 2010-06-25 15:26:32 -06:00
parent b2f16f291e
commit 5e20a936b7
2 changed files with 0 additions and 6 deletions

View File

@ -362,9 +362,6 @@ def search(title=None, author=None, publisher=None, isbn=None, isbndb_key=None,
if r.pubdate is None:
r.pubdate = pubdate
# for r in results:
# print "{0:14.14} {1:30.30} {2:20.20} {3:6} {4}".format(r.isbn, r.title, r.publisher, len(r.comments if r.comments else ''), r.has_cover)
return results, [(x.name, x.exception, x.tb) for x in fetchers]
def get_social_metadata(mi, verbose=0):

View File

@ -42,9 +42,6 @@ class Matches(QAbstractTableModel):
def __init__(self, matches):
self.matches = matches
self.matches.sort(cmp=lambda b, a: \
cmp(len(a.comments if a.comments else ''),
len(b.comments if b.comments else '')))
QAbstractTableModel.__init__(self)
def rowCount(self, *args):