mirror of
https://github.com/beetbox/beets.git
synced 2026-02-14 03:17:59 +01:00
Merge pull request #2019 from jrobeson/py3-compat-use-reduce-from-functools
use reduce() from functools
This commit is contained in:
commit
4d11b9c4f1
3 changed files with 3 additions and 0 deletions
|
|
@ -29,6 +29,7 @@ from beets import config
|
|||
from beets.util import plurality
|
||||
from beets.autotag import hooks
|
||||
from beets.util.enumeration import OrderedEnum
|
||||
from functools import reduce
|
||||
|
||||
# Artist signals that indicate "various artists". These are used at the
|
||||
# album level to determine whether a given release is likely a VA
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ from operator import mul
|
|||
from beets import util
|
||||
from datetime import datetime, timedelta
|
||||
import unicodedata
|
||||
from functools import reduce
|
||||
|
||||
|
||||
class ParsingError(ValueError):
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ import requests
|
|||
import operator
|
||||
|
||||
from beets import plugins, ui
|
||||
from functools import reduce
|
||||
|
||||
ACOUSTIC_BASE = "https://acousticbrainz.org/"
|
||||
LEVELS = ["/low-level", "/high-level"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue