[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 06/08: grc: fix output file encoding
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 06/08: grc: fix output file encoding |
Date: |
Wed, 11 Nov 2015 23:08:07 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch master
in repository gnuradio.
commit a6becbdc13cc3bdb8b8178d5109e2a47fe2a1a21
Author: Sebastian Koslowski <address@hidden>
Date: Wed Nov 11 22:31:58 2015 +0100
grc: fix output file encoding
---
grc/python/Generator.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/grc/python/Generator.py b/grc/python/Generator.py
index 0b9469b..f064c75 100644
--- a/grc/python/Generator.py
+++ b/grc/python/Generator.py
@@ -109,7 +109,7 @@ class TopBlockGenerator(object):
"removing the throttle block.")
# generate
for filename, data in self._build_python_code_from_template():
- with open(filename, 'w', encoding='utf-8') as fp:
+ with codecs.open(filename, 'w', encoding='utf-8') as fp:
fp.write(data)
if filename == self.get_file_path():
try:
- [Commit-gnuradio] [gnuradio] branch master updated (6a88efb -> a18e480), git, 2015/11/11
- [Commit-gnuradio] [gnuradio] 01/08: runtime: add accessors for in_sig and out_sig in python blocks, git, 2015/11/11
- [Commit-gnuradio] [gnuradio] 04/08: grc: open and update params from external editor, git, 2015/11/11
- [Commit-gnuradio] [gnuradio] 02/08: grc: mark param type multiline as protected, git, 2015/11/11
- [Commit-gnuradio] [gnuradio] 05/08: grc: update PropsDialog on external param change, git, 2015/11/11
- [Commit-gnuradio] [gnuradio] 03/08: grc: add embedded python block definition and support in GRC, git, 2015/11/11
- [Commit-gnuradio] [gnuradio] 06/08: grc: fix output file encoding,
git <=
- [Commit-gnuradio] [gnuradio] 08/08: Merge remote-tracking branch 'gnuradio-wg-grc/master_grcwg', git, 2015/11/11
- [Commit-gnuradio] [gnuradio] 07/08: Merge branch 'maint', git, 2015/11/11