summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-11-23 14:04:27 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-11-24 16:47:20 +0100
commitd6047d9fb5f9abef596c0d52f85ee40b230ee430 (patch)
treeccde0b73cffc3e8d6afbc81f995e794f2b7cfeb1 /src
parentMove mypy.ini and ruff.toml to top level (diff)
downloadsystemd-d6047d9fb5f9abef596c0d52f85ee40b230ee430.tar.xz
systemd-d6047d9fb5f9abef596c0d52f85ee40b230ee430.zip
ukify: Fix typing error
Diffstat (limited to 'src')
-rwxr-xr-xsrc/ukify/ukify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ukify/ukify.py b/src/ukify/ukify.py
index caa9a04000..06967b02b9 100755
--- a/src/ukify/ukify.py
+++ b/src/ukify/ukify.py
@@ -467,7 +467,7 @@ class SignTool:
raise NotImplementedError()
@staticmethod
- def from_string(name) -> type['SignTool']:
+ def from_string(name: str) -> type['SignTool']:
if name == 'pesign':
return PeSign
elif name == 'sbsign':