tools: efivar.py unused variable
Unused variables should be called '_'. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
This commit is contained in:
parent
33abdb9836
commit
4961ceefbf
@ -292,7 +292,7 @@ def pkcs7_sign(cert, key, buf):
|
|||||||
|
|
||||||
# UEFI 2.8 Errata B "8.2.2 Using the EFI_VARIABLE_AUTHENTICATION_2 descriptor"
|
# UEFI 2.8 Errata B "8.2.2 Using the EFI_VARIABLE_AUTHENTICATION_2 descriptor"
|
||||||
def cmd_sign(args):
|
def cmd_sign(args):
|
||||||
guid, name, attrs, data, size = parse_args(args)
|
guid, name, attrs, data, _ = parse_args(args)
|
||||||
attrs |= EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS
|
attrs |= EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS
|
||||||
efi = EfiStruct()
|
efi = EfiStruct()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user