commit-gnuradio
[Top][All Lists]
Advanced

[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):



reply via email to

[Prev in Thread] Current Thread [Next in Thread]