From bef59a3a3cd6a5fdea738167d59864751ee20d44 Mon Sep 17 00:00:00 2001 From: Charles Haley <> Date: Mon, 7 Jun 2010 23:10:30 +0100 Subject: [PATCH] More (and less) debug info in the sony driver --- src/calibre/devices/prs505/driver.py | 2 +- src/calibre/devices/prs505/sony_cache.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/calibre/devices/prs505/driver.py b/src/calibre/devices/prs505/driver.py index 09288aaa14..071d651186 100644 --- a/src/calibre/devices/prs505/driver.py +++ b/src/calibre/devices/prs505/driver.py @@ -147,7 +147,7 @@ class PRS505(USBMS): if opts.extra_customization: collections = [x.strip() for x in opts.extra_customization.split(',')] - + debug_print('PRS505: collection fields:', collections) c.update(blists, collections) c.write() diff --git a/src/calibre/devices/prs505/sony_cache.py b/src/calibre/devices/prs505/sony_cache.py index 71e7b9cff3..5542e28d90 100644 --- a/src/calibre/devices/prs505/sony_cache.py +++ b/src/calibre/devices/prs505/sony_cache.py @@ -540,10 +540,10 @@ class XMLCache(object): break self.namespaces[i] = ns - if DEBUG: - debug_print('Found nsmaps:') - pprint(self.nsmaps) - debug_print('Found namespaces:') - pprint(self.namespaces) +# if DEBUG: +# debug_print('Found nsmaps:') +# pprint(self.nsmaps) +# debug_print('Found namespaces:') +# pprint(self.namespaces) # }}}