Skip to content

Commit 247e3b9

Browse files
committed
merge flexattr branch
This is a big change. Some things will probably break.
2 parents 104f007 + 343a85d commit 247e3b9

31 files changed

+836
-801
lines changed

beets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# The above copyright notice and this permission notice shall be
1313
# included in all copies or substantial portions of the Software.
1414

15-
__version__ = '1.2.2'
15+
__version__ = '1.3.0'
1616
__author__ = 'Adrian Sampson <[email protected]>'
1717

1818
import beets.library

beets/importer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ def plugin_stage(session, func):
810810

811811
# Stage may modify DB, so re-load cached item data.
812812
for item in task.imported_items():
813-
session.lib.load(item)
813+
item.load()
814814

815815
def manipulate_files(session):
816816
"""A coroutine (pipeline stage) that performs necessary file
@@ -866,7 +866,7 @@ def manipulate_files(session):
866866
# Save new paths.
867867
with session.lib.transaction():
868868
for item in items:
869-
session.lib.store(item)
869+
item.store()
870870

871871
# Plugin event.
872872
plugins.send('import_task_files', session=session, task=task)

0 commit comments

Comments
 (0)