From 80bb550f45999589cf830c6564951d762627f44d Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Fri, 15 Jul 2016 03:05:53 -0400 Subject: [PATCH] remove useless format_exc in util.move There isn't a traceback for us to format here, so it errors out on certain versions of python 3 --- beets/util/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/beets/util/__init__.py b/beets/util/__init__.py index fec6d56db..f6e10463d 100644 --- a/beets/util/__init__.py +++ b/beets/util/__init__.py @@ -443,8 +443,7 @@ def move(path, dest, replace=False): path = syspath(path) dest = syspath(dest) if os.path.exists(dest) and not replace: - raise FilesystemError(u'file exists', 'rename', (path, dest), - traceback.format_exc()) + raise FilesystemError(u'file exists', 'rename', (path, dest)) # First, try renaming the file. try: