From 8214b98bf00db2707eca7db9e60099097d032d59 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 12 Jul 2020 22:56:04 -0400 Subject: Syntax change for octal constants, sigh --- scripts/build-firmware-package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-firmware-package.py b/scripts/build-firmware-package.py index 659a63f..1a96fc7 100755 --- a/scripts/build-firmware-package.py +++ b/scripts/build-firmware-package.py @@ -26,7 +26,7 @@ for fn in args.firmware: tar.add(fn, os.path.basename(fn)) with tempfile.NamedTemporaryFile() as f: - os.fchmod(f.fileno(), 0644) + os.fchmod(f.fileno(), 0o644) use_gpg = os.path.isdir(os.getenv("GNUPGHOME", "")) if use_gpg: gpg = subprocess.Popen(("gpg", "--clearsign", "--personal-digest-preferences", "SHA256", "--no-permission-warning"), -- cgit v1.2.3