]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ukify: Fix typing error
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 23 Nov 2024 13:04:27 +0000 (14:04 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 24 Nov 2024 15:47:20 +0000 (16:47 +0100)
src/ukify/ukify.py

index caa9a0400044680c41f83c5dac263e6175174bf2..06967b02b990965e94bf2a20ea90b9f8e5a1cb78 100755 (executable)
@@ -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':