From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:catalyst-3.0-stable commit in: catalyst/base/
Date: Sun, 17 May 2020 03:54:02 +0000 (UTC) [thread overview]
Message-ID: <1589687382.5df43dae5bd6a58d80bd4d478397e89bf04fdcd5.mattst88@gentoo> (raw)
commit: 5df43dae5bd6a58d80bd4d478397e89bf04fdcd5
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 18 20:25:38 2020 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun May 17 03:49:42 2020 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=5df43dae
catalyst: Open CONTENTS file in text mode
Fixes: bb21b8615e64 (catalyst: gzip the .CONTENTS file)
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
(cherry picked from commit 060df92357aed97af955aa36caf47e8518b01e05)
catalyst/base/genbase.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/catalyst/base/genbase.py b/catalyst/base/genbase.py
index 0fc1f57e..0909a475 100644
--- a/catalyst/base/genbase.py
+++ b/catalyst/base/genbase.py
@@ -19,7 +19,7 @@ class GenBase(object):
if "contents" in self.settings:
contents_map = self.settings["contents_map"]
if os.path.exists(path):
- with gzip.open(contents, "w", encoding='utf-8') as myf:
+ with gzip.open(contents, "wt", encoding='utf-8') as myf:
keys={}
for i in self.settings["contents"].split():
keys[i]=1
next reply other threads:[~2020-05-17 3:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-17 3:54 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-07-20 0:25 [gentoo-commits] proj/catalyst:catalyst-3.0-stable commit in: catalyst/base/ Andreas K. Hüttel
2020-07-24 20:33 Andreas K. Hüttel
2020-09-17 21:13 [gentoo-commits] proj/catalyst:dilfridge/image " Andreas K. Hüttel
2020-09-05 18:33 ` [gentoo-commits] proj/catalyst:catalyst-3.0-stable " Andreas K. Hüttel
2020-10-14 17:50 Matt Turner
2021-06-06 22:38 Matt Turner
2021-07-06 22:13 Matt Turner
2022-01-30 21:02 Matt Turner
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=1589687382.5df43dae5bd6a58d80bd4d478397e89bf04fdcd5.mattst88@gentoo \
--to=mattst88@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