removed debug messages (i should really use git more)

This commit is contained in:
Peter Schnebel 2013-02-04 21:47:09 +01:00
parent 4df9521007
commit bd7303459e

View file

@ -259,7 +259,6 @@ class Item(object):
self.record[key] = value
self.dirty[key] = True
if key in ITEM_KEYS_WRITABLE:
log.debug(u'setting item %s = %s', key, value)
self.mtime = 0 # Reset mtime on dirty.
else:
super(Item, self).__setattr__(key, value)
@ -1452,11 +1451,9 @@ class Album(BaseAlbum):
# Possibly make modification on items as well.
if key in ALBUM_KEYS_ITEM:
log.debug('copying %s = %s to all items' % (key, value))
for item in self.items():
setattr(item, key, value)
self._library.store(item)
else:
object.__setattr__(self, key, value)