commit-gnuradio
[Top][All Lists]
Advanced

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



reply via email to

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