[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/06: grc: fix file load error when connec
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/06: grc: fix file load error when connections are not unique (#794) |
Date: |
Sun, 14 Jun 2015 16:34:14 +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 99ea6c2879e0ebd6be833b2541d9d94fa701382a
Author: Sebastian Koslowski <address@hidden>
Date: Tue Jun 2 11:49:47 2015 +0200
grc: fix file load error when connections are not unique (#794)
---
grc/base/Connection.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/grc/base/Connection.py b/grc/base/Connection.py
index 3a2de5b..bf3c752 100644
--- a/grc/base/Connection.py
+++ b/grc/base/Connection.py
@@ -51,7 +51,7 @@ class Connection(Element):
#ensure that this connection (source -> sink) is unique
for connection in self.get_parent().get_connections():
if connection.get_source() is source and connection.get_sink() is
sink:
- raise Exception('This connection between source and sink is
not unique.')
+ raise LookupError('This connection between source and sink is
not unique.')
self._source = source
self._sink = sink
if source.get_type() == 'bus':
- [Commit-gnuradio] [gnuradio] branch maint updated (e8165e7 -> 1ff0e74), git, 2015/06/14
- [Commit-gnuradio] [gnuradio] 03/06: grc: better Popen argument handling for CLI based apps, git, 2015/06/14
- [Commit-gnuradio] [gnuradio] 05/06: grc: save grc files utf-8 encoded (#792), git, 2015/06/14
- [Commit-gnuradio] [gnuradio] 01/06: grc: stop using gtk forall() (#793), git, 2015/06/14
- [Commit-gnuradio] [gnuradio] 02/06: grc: fix file load error when connections are not unique (#794),
git <=
- [Commit-gnuradio] [gnuradio] 06/06: Merge remote-tracking branch 'gnuradio-wg-grc/maint_grcwg' into maint, git, 2015/06/14
- [Commit-gnuradio] [gnuradio] 04/06: grc: clean-up ParseXML, git, 2015/06/14