diff options
author | Johnathan Corgan | 2009-08-15 18:06:37 -0700 |
---|---|---|
committer | Johnathan Corgan | 2009-08-15 18:06:37 -0700 |
commit | c9ad0211dac1721ec3f834bb14e71ca50e801721 (patch) | |
tree | 87bf55144ba6a6db15ff486165110c595ae842a3 /grc/python/Connection.py | |
parent | ea57c1b52b8bed12296ba51441afcfc57a0b9d34 (diff) | |
parent | 4edaf1e7fc05df0628c05785d5ede285a64670b0 (diff) | |
download | gnuradio-c9ad0211dac1721ec3f834bb14e71ca50e801721.tar.gz gnuradio-c9ad0211dac1721ec3f834bb14e71ca50e801721.tar.bz2 gnuradio-c9ad0211dac1721ec3f834bb14e71ca50e801721.zip |
Merged changes from svn repository trunk.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11601 221aa14e-8319-0410-a670-987f0aec2ac5
Signed-off-by: Johnathan Corgan <jcorgan@corganenterprises.com>
Diffstat (limited to 'grc/python/Connection.py')
-rw-r--r-- | grc/python/Connection.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/grc/python/Connection.py b/grc/python/Connection.py index d8a894bb1..5eba9f24d 100644 --- a/grc/python/Connection.py +++ b/grc/python/Connection.py @@ -21,6 +21,9 @@ from .. base.Connection import Connection as _Connection class Connection(_Connection): + def is_msg(self): + return self.get_source().get_type() == self.get_sink().get_type() == 'msg' + def validate(self): """ Validate the connections. |