mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 21:14:19 +01:00
removed debug messages (i should really use git more)
This commit is contained in:
parent
4df9521007
commit
bd7303459e
1 changed files with 0 additions and 3 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue