[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/04: Fix issue when running cmake with py
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/04: Fix issue when running cmake with python3 |
Date: |
Tue, 4 Apr 2017 04:53:51 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch python3
in repository gnuradio.
commit 96a62398d4a50884725905a691fcc1c412ed39c4
Author: Douglas Anderson <address@hidden>
Date: Thu Mar 30 13:19:35 2017 -0600
Fix issue when running cmake with python3
---
grc/blocks/variable_struct.xml.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/grc/blocks/variable_struct.xml.py
b/grc/blocks/variable_struct.xml.py
index de4411e..c0d3dac 100644
--- a/grc/blocks/variable_struct.xml.py
+++ b/grc/blocks/variable_struct.xml.py
@@ -93,5 +93,5 @@ if __name__ == '__main__':
data = make_xml(MAX_NUM_FIELDS)
- with open(filename, 'w') as fp:
+ with open(filename, 'wb') as fp:
fp.write(data.encode())