From da5fb855574fe6b1f8054cd224deeffa10bd6b02 Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Sat, 18 Jun 2016 03:16:33 -0400 Subject: [PATCH] only import OrderedDict from collections in confit This was only necessary in <=2.6 --- beets/util/confit.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/beets/util/confit.py b/beets/util/confit.py index 38b9d3428..c20422f10 100644 --- a/beets/util/confit.py +++ b/beets/util/confit.py @@ -24,10 +24,7 @@ import sys import yaml import collections import re -try: - from collections import OrderedDict -except ImportError: - from ordereddict import OrderedDict +from collections import OrderedDict UNIX_DIR_VAR = 'XDG_CONFIG_HOME' UNIX_DIR_FALLBACK = '~/.config'