[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 15/23: grc: fix Action to str method
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 15/23: grc: fix Action to str method |
Date: |
Sat, 28 Nov 2015 21:18:08 +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 461152d46e6db790e37b09bd3b92035b62d7091f
Author: Sebastian Koslowski <address@hidden>
Date: Tue Nov 24 16:32:49 2015 +0100
grc: fix Action to str method
---
grc/gui/Actions.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/grc/gui/Actions.py b/grc/gui/Actions.py
index d646722..1322dca 100644
--- a/grc/gui/Actions.py
+++ b/grc/gui/Actions.py
@@ -98,9 +98,9 @@ class _ActionBase(object):
The string representation should be the name of the action id.
Try to find the action id for this action by searching this module.
"""
- for name, value in globals():
+ for name, value in globals().iteritems():
if value == self:
- return value
+ return name
return self.get_name()
def __repr__(self): return str(self)
- [Commit-gnuradio] [gnuradio] 21/23: Merge remote-tracking branch 'pinkavaj/gmsk-doc-00', (continued)
- [Commit-gnuradio] [gnuradio] 21/23: Merge remote-tracking branch 'pinkavaj/gmsk-doc-00', git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 07/23: gr-dtv: Fix Coverity issue #1327837., git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 01/23: grc: rewrite docstring extraction and allow for underscore in module name, git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 04/23: grc: try to load block class from <import> and <make> to extract docstring, git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 03/23: grc: finish doc_string extraction in the background (faster start-up), git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 18/23: Merge branch 'maint', git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 11/23: gr-dtv: Fix Coverity issue #1327838., git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 10/23: gr-dtv: Fix Coverity issue #1327858., git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 20/23: Merge remote-tracking branch 'jdemel/maint', git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 14/23: digital: clarify gmsk doc, git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 15/23: grc: fix Action to str method,
git <=
- [Commit-gnuradio] [gnuradio] 22/23: Merge remote-tracking branch 'gnuradio-wg-grc/master_grcwg', git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 02/23: grc: move docstring extraction into subprocess, git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 17/23: grc: preserve block spacing when dragging multiple blocks into canvas boundary, git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 16/23: grc: Added option to use the default editor when opening embedded python blocks, git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 19/23: Merge remote-tracking branch 'drmpeg/dtv-coverity-clean', git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 12/23: grc: added recently opened flowgraph submenu and toolbar button dropdown menu, git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 06/23: grc: auto-generate missing hier_blocks, git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 08/23: gr-dtv: Fix Coverity issue #1327535., git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 09/23: gr-dtv: Fix Coverity issue #1327847., git, 2015/11/28
- [Commit-gnuradio] [gnuradio] 13/23: ctrlport: pc_throughput_avg registered, git, 2015/11/28