commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 02/05: grc: (minor) remove deprecated use o


From: git
Subject: [Commit-gnuradio] [gnuradio] 02/05: grc: (minor) remove deprecated use of empty format_spec
Date: Sat, 12 Nov 2016 14:50:47 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch maint
in repository gnuradio.

commit 1c3bd330ad8f6fc0bafe38fda928f6e76bb1974b
Author: Sebastian Koslowski <address@hidden>
Date:   Sat Nov 12 09:28:22 2016 +0100

    grc: (minor) remove deprecated use of empty format_spec
---
 grc/core/utils/epy_block_io.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grc/core/utils/epy_block_io.py b/grc/core/utils/epy_block_io.py
index 76b5005..4eb4d6d 100644
--- a/grc/core/utils/epy_block_io.py
+++ b/grc/core/utils/epy_block_io.py
@@ -19,7 +19,7 @@ def _ports(sigs, msgs):
     for i, dtype in enumerate(sigs):
         port_type = TYPE_MAP.get(dtype.name, None)
         if not port_type:
-            raise ValueError("Can't map {0:!r} to GRC port type".format(dtype))
+            raise ValueError("Can't map {0!r} to GRC port type".format(dtype))
         ports.append((str(i), port_type))
     for msg_key in msgs:
         if msg_key == 'system':



reply via email to

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