[Cryptech-Commits] [releng/alpha] branch python3 updated: Syntax change for octal constants, sigh

git at cryptech.is git at cryptech.is
Mon Jul 13 02:56:21 UTC 2020

This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch python3
in repository releng/alpha.

The following commit(s) were added to refs/heads/python3 by this push:
     new 8214b98  Syntax change for octal constants, sigh
8214b98 is described below

commit 8214b98bf00db2707eca7db9e60099097d032d59
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Sun Jul 12 22:56:04 2020 -0400

    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"),

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Commits mailing list