[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 17/20: python3: fix issues detected by futu
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 17/20: python3: fix issues detected by futurize |
Date: |
Sun, 25 Dec 2016 04:00:00 +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 651a55b841e638955223d58e82dd0527e8f039aa
Author: Douglas Anderson <address@hidden>
Date: Fri Dec 23 13:49:38 2016 -0700
python3: fix issues detected by futurize
---
gr-digital/examples/narrowband/rx_voice.py | 3 +--
gr-filter/python/filter/pfb.py | 4 +++-
gr-utils/python/modtool/gr-newmod/docs/doxygen/doxyxml/base.py | 2 +-
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/gr-digital/examples/narrowband/rx_voice.py
b/gr-digital/examples/narrowband/rx_voice.py
index e3b703e..17a8199 100755
--- a/gr-digital/examples/narrowband/rx_voice.py
+++ b/gr-digital/examples/narrowband/rx_voice.py
@@ -116,8 +116,7 @@ def main():
tb.audio_tx.msgq().insert_tail(gr.message_from_string(payload))
- print("ok = %r n_rcvd = %4d n_right = %4d" % ()
- ok, n_rcvd, n_right)
+ print("ok = %r n_rcvd = %4d n_right = %4d" % (ok, n_rcvd, n_right))
demods = digital.modulation_utils.type_1_demods()
diff --git a/gr-filter/python/filter/pfb.py b/gr-filter/python/filter/pfb.py
index b903603..9dde91a 100644
--- a/gr-filter/python/filter/pfb.py
+++ b/gr-filter/python/filter/pfb.py
@@ -22,7 +22,9 @@
from __future__ import print_function
-import optfir, math
+import math
+
+from . import optfir
from gnuradio import gr, fft
import filter_swig as filter
diff --git a/gr-utils/python/modtool/gr-newmod/docs/doxygen/doxyxml/base.py
b/gr-utils/python/modtool/gr-newmod/docs/doxygen/doxyxml/base.py
index 89e0191..b18e622 100644
--- a/gr-utils/python/modtool/gr-newmod/docs/doxygen/doxyxml/base.py
+++ b/gr-utils/python/modtool/gr-newmod/docs/doxygen/doxyxml/base.py
@@ -30,7 +30,7 @@ import pdb
from xml.parsers.expat import ExpatError
-from generated from . import compound
+from .generated import compound
class Base(object):
- [Commit-gnuradio] [gnuradio] branch python3 created (now 23af6b8), git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 12/20: python3: update gr-trellis for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 01/20: volk: update submodule to latest master, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 15/20: python3: update gr-vocoder for python support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 19/20: python3: use site instead of distutils, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 20/20: python3: futurize misplaced __future__ import, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 05/20: python3: update gr-analog for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 06/20: python3: update gr-blocks python files for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 08/20: python3: update gr-dtv for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 02/20: python3: add cmake support for python3 at top level, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 17/20: python3: fix issues detected by futurize,
git <=
- [Commit-gnuradio] [gnuradio] 16/20: python3: update gr-zeromq for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 11/20: python3: update gr-qtgui for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 13/20: python3: update gr-uhd for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 04/20: python3: update gnuradio-runtime for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 03/20: python3: update doxygen files to build docs with python3, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 09/20: python3: update gr-fec for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 14/20: python3: update gr-utils for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 10/20: python3: update gr-filter for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 07/20: python3: update gr-digital for python3 support, git, 2016/12/24
- [Commit-gnuradio] [gnuradio] 18/20: python3: futurize --stage1 --write $(find . -iname '*.py'), git, 2016/12/24