mirror of
https://github.com/beetbox/beets.git
synced 2026-02-24 16:23:04 +01:00
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
This commit is contained in:
parent
18b57ea022
commit
80bb550f45
1 changed files with 1 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue