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) # }}}