From 714560aace0bb53af3b594fc1ee43c4f0bed2e11 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Sat, 10 Jun 2017 20:19:27 -0400 Subject: [PATCH] Fix parameter order and binding The calls didn't match up with the parameter order. --- beets/ui/commands.py | 4 ++-- test/test_ui.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/beets/ui/commands.py b/beets/ui/commands.py index df23f5887..d95a126d1 100755 --- a/beets/ui/commands.py +++ b/beets/ui/commands.py @@ -1450,8 +1450,8 @@ default_commands.append(modify_cmd) # move: Move/copy files to the library or a new base directory. -def move_items(lib, dest, query, copy, album, pretend, export=False, - confirm=False): +def move_items(lib, dest, query, copy, album, pretend, confirm=False, + export=False): """Moves or copies items to a new base directory, given by dest. If dest is None, then the library's base directory is used, making the command "consolidate" files. diff --git a/test/test_ui.py b/test/test_ui.py index 0fbec0bde..a24a635f3 100644 --- a/test/test_ui.py +++ b/test/test_ui.py @@ -499,7 +499,7 @@ class ExportTest(_common.TestCase): def _move(self, query=(), dest=None, copy=False, album=False, pretend=False, export=True): commands.move_items(self.lib, dest, query, copy, album, - pretend, export) + pretend, export=export) def test_export_item(self): self._move()