]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ukify: Use non-deprecated import for Sequence
authorJörg Behrmann <behrmann@physik.fu-berlin.de>
Fri, 4 Oct 2024 14:26:30 +0000 (16:26 +0200)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Wed, 9 Oct 2024 09:58:02 +0000 (11:58 +0200)
src/ukify/ukify.py

index ba9bc51b6ec50cec9ff33c85e5dac643d9b3cbf5..75ecdb4d38255103b43ce81c1eb6e9a31abc7f6b 100755 (executable)
@@ -40,6 +40,7 @@ import subprocess
 import sys
 import tempfile
 import textwrap
+from collections.abc import Sequence
 from hashlib import sha256
 from pathlib import Path
 from typing import (
@@ -47,7 +48,6 @@ from typing import (
     Any,
     Callable,
     Optional,
-    Sequence,
     Union,
 )