mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
ukify: Fix typing error
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user