summaryrefslogtreecommitdiff
path: root/tools/efivar.py
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2021-01-09 02:20:45 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-01-13 02:38:00 +0100
commit4961ceefbf4e7c572537a752c6d36103520d5f19 (patch)
tree0816149fb512d42711c1231dd0d5d74d8a29f2ad /tools/efivar.py
parent33abdb98367592d6074639d6b076076d92319f82 (diff)
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>
Diffstat (limited to 'tools/efivar.py')
-rwxr-xr-xtools/efivar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/efivar.py b/tools/efivar.py
index 29eb90a235..67729fa850 100755
--- a/tools/efivar.py
+++ b/tools/efivar.py
@@ -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"
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
efi = EfiStruct()