From 41b2c0dc9492c9f2a79481f5b48bef36ee91d4fd Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Sat, 10 Jun 2023 22:33:33 +0200 Subject: [PATCH] Fix modern type hint on older Python --- dosagelib/plugins/u.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dosagelib/plugins/u.py b/dosagelib/plugins/u.py index c26c96ff4..8254a1dbd 100644 --- a/dosagelib/plugins/u.py +++ b/dosagelib/plugins/u.py @@ -3,6 +3,8 @@ # SPDX-FileCopyrightText: © 2012 Bastian Kleineidam # SPDX-FileCopyrightText: © 2015 Tobias Gruetzmacher # SPDX-FileCopyrightText: © 2019 Daniel Ring +from __future__ import annotations + import json import re from contextlib import suppress