From: kaliko Date: Fri, 5 Feb 2021 16:43:55 +0000 (+0100) Subject: Remove a, now useless, conditional import. X-Git-Tag: 0.17.0~23 X-Git-Url: https://git.kaliko.me/?a=commitdiff_plain;ds=sidebyside;h=b93b19e230fd0753d190f3107da50b78c719bf7f;hp=ce3c9670138f6a91a8c1b71ebecb2a0f89a58331;p=mpd-sima.git Remove a, now useless, conditional import. Needed for early version of python3 only. --- diff --git a/sima/lib/meta.py b/sima/lib/meta.py index 7cfb54f..26da9ca 100644 --- a/sima/lib/meta.py +++ b/sima/lib/meta.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (c) 2013, 2014, 2015 kaliko +# Copyright (c) 2013, 2014, 2015, 2021 kaliko # # This file is part of sima # @@ -21,10 +21,8 @@ Defines some object to handle audio file metadata """ -try: - from collections.abc import Set # python >= 3.3 -except ImportError: - from collections import Set # python 3.2 + +from collections.abc import Set import logging import re