From 22c6d85535c098d2c25ad2fdc3a812767d377b50 Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Fri, 15 Jul 2016 17:40:48 -0400 Subject: [PATCH] remove tb.format_exc() from util.link replace --- 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 f6e10463d..44fbdbda7 100644 --- a/beets/util/__init__.py +++ b/beets/util/__init__.py @@ -468,8 +468,7 @@ def link(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)) try: os.symlink(path, dest) except OSError: