aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2020-07-12 22:56:04 -0400
committerRob Austein <sra@hactrn.net>2020-07-12 22:56:04 -0400
commit8214b98bf00db2707eca7db9e60099097d032d59 (patch)
tree77e35c12fd164f5068406b3cd4e000bdd70720bf
parent9e6b0d1117e21f2e6d092e337c5c522726016467 (diff)
Syntax change for octal constants, sigh
-rwxr-xr-xscripts/build-firmware-package.py2
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"),