From: "Max Magorsch" <arzano@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoo-mirrorstats:master commit in: html/
Date: Thu, 7 May 2020 20:44:45 +0000 (UTC) [thread overview]
Message-ID: <1588884252.30f11878cf9a37ba3ab5759db5d0546be4e6f0d5.arzano@gentoo> (raw)
commit: 30f11878cf9a37ba3ab5759db5d0546be4e6f0d5
Author: Max Magorsch <arzano <AT> gentoo <DOT> org>
AuthorDate: Thu May 7 20:44:12 2020 +0000
Commit: Max Magorsch <arzano <AT> gentoo <DOT> org>
CommitDate: Thu May 7 20:44:12 2020 +0000
URL: https://gitweb.gentoo.org/proj/gentoo-mirrorstats.git/commit/?id=30f11878
Fix the chmod by using the 0o prefix
Signed-off-by: Max Magorsch <arzano <AT> gentoo.org>
html/generate.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/html/generate.py b/html/generate.py
index 3d7c458..d88e030 100755
--- a/html/generate.py
+++ b/html/generate.py
@@ -177,7 +177,7 @@ template.stream(lastUpdate=lastUpdate).dump(html_folder + "help.html")
#
with tempfile.NamedTemporaryFile(dir=os.path.dirname(cache_path), delete=False, mode='wt') as fout:
json.dump(cache_data, fout)
- os.chmod(fout.name, 644)
+ os.chmod(fout.name, 0o644)
os.replace(fout.name, cache_path)
next reply other threads:[~2020-05-07 20:44 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-07 20:44 Max Magorsch [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-14 21:51 [gentoo-commits] proj/gentoo-mirrorstats:master commit in: html/ Robin H. Johnson
2024-09-14 21:49 Robin H. Johnson
2020-06-07 21:55 Max Magorsch
2020-06-07 20:39 Max Magorsch
2020-06-07 20:17 Max Magorsch
2020-06-07 19:54 Max Magorsch
2020-06-07 19:54 Max Magorsch
2020-05-07 20:25 Max Magorsch
2020-05-07 18:18 Robin H. Johnson
2020-05-07 18:18 Robin H. Johnson
2020-05-06 23:46 Max Magorsch
2020-05-03 23:08 Max Magorsch
2020-05-03 22:54 Max Magorsch
2020-05-03 22:54 Max Magorsch
2020-05-03 22:47 Max Magorsch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1588884252.30f11878cf9a37ba3ab5759db5d0546be4e6f0d5.arzano@gentoo \
--to=arzano@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox