diff options
author | Rob Austein <sra@hactrn.net> | 2020-07-12 22:56:04 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2020-07-12 22:56:04 -0400 |
commit | 8214b98bf00db2707eca7db9e60099097d032d59 (patch) | |
tree | 77e35c12fd164f5068406b3cd4e000bdd70720bf | |
parent | 9e6b0d1117e21f2e6d092e337c5c522726016467 (diff) |
Syntax change for octal constants, sigh
-rwxr-xr-x | scripts/build-firmware-package.py | 2 |
1 files changed, 1 insertions, 1 deletions
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"), |