More (and less) debug info in the sony driver

This commit is contained in:
Charles Haley 2010-06-07 23:10:30 +01:00
parent dcd7bf1033
commit bef59a3a3c
2 changed files with 6 additions and 6 deletions

View File

@ -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()

View File

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