Skip to content

Commit

Permalink
Don't import importlib_metadata since Py3.8 already has it as importl…
Browse files Browse the repository at this point in the history
…ib.metadata (#79)

It has already been dropped from setup.cfg.
  • Loading branch information
akosthekiss authored Dec 16, 2024
1 parent 8bb2096 commit 7fa7024
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/fuzzinator/pkgdata.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
# Copyright (c) 2016-2021 Renata Hodovan, Akos Kiss.
# Copyright (c) 2016-2024 Renata Hodovan, Akos Kiss.
#
# Licensed under the BSD 3-Clause License
# <LICENSE.rst or https://opensource.org/licenses/BSD-3-Clause>.
# This file may not be copied, modified, or distributed except
# according to those terms.

try:
from importlib import metadata
except ImportError:
import importlib_metadata as metadata
from importlib import metadata


dist = metadata.distribution(__package__)
Expand Down

0 comments on commit 7fa7024

Please sign in to comment.