From 7044e5811681064b7453106ce09747af1c5aa0e8 Mon Sep 17 00:00:00 2001 From: Timothy Legge Date: Sun, 20 Jun 2010 23:25:44 -0300 Subject: [PATCH] Remove some extra prints used for debugging --- src/calibre/devices/kobo/driver.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/calibre/devices/kobo/driver.py b/src/calibre/devices/kobo/driver.py index 4fcdb95c37..159e8f484c 100644 --- a/src/calibre/devices/kobo/driver.py +++ b/src/calibre/devices/kobo/driver.py @@ -151,8 +151,8 @@ class KOBO(USBMS): need_sync = True del bl[idx] - print "count found in cache: %d, count of files in metadata: %d, need_sync: %s" % \ - (len(bl_cache), len(bl), need_sync) + #print "count found in cache: %d, count of files in metadata: %d, need_sync: %s" % \ + # (len(bl_cache), len(bl), need_sync) if need_sync: #self.count_found_in_bl != len(bl) or need_sync: if oncard == 'cardb': self.sync_booklists((None, None, bl)) @@ -300,12 +300,12 @@ class KOBO(USBMS): prints('in add_books_to_metadata. Prefix is None!', path, self._main_prefix) continue - print "Add book to metatdata: " - print "prefix: " + prefix + #print "Add book to metatdata: " + #print "prefix: " + prefix lpath = path.partition(prefix)[2] if lpath.startswith('/') or lpath.startswith('\\'): lpath = lpath[1:] - print "path: " + lpath + #print "path: " + lpath #book = self.book_class(prefix, lpath, other=info) lpath = self.normalize_path(prefix + lpath) book = Book(prefix, lpath, '', '', '', '', '', '', other=info)