summaryrefslogtreecommitdiff
path: root/gr-zeromq/examples/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-zeromq/examples/client.py')
-rwxr-xr-xgr-zeromq/examples/client.py15
1 files changed, 7 insertions, 8 deletions
diff --git a/gr-zeromq/examples/client.py b/gr-zeromq/examples/client.py
index a5c1996047..bd040b1ee8 100755
--- a/gr-zeromq/examples/client.py
+++ b/gr-zeromq/examples/client.py
@@ -1,25 +1,25 @@
#!/usr/bin/env python
-#
+#
# Copyright 2013 Institute for Theoretical Information Technology,
# RWTH Aachen University
-#
+#
# Authors: Johannes Schmitz <schmitz@ti.rwth-aachen.de>
-#
+#
# This is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# This software is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with this software; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
###############################################################################
@@ -43,7 +43,7 @@ import time
###############################################################################
class top_block(gr.top_block):
def __init__(self, options):
- gr.top_block.__init__(self)
+ gr.top_block.__init__(self)
self.options = options
@@ -53,7 +53,6 @@ class top_block(gr.top_block):
source_adr = "tcp://"+self.options.servername+":5555"
# blocks
- #self.zmq_source = zeromq.source_reqrep_nopoll(gr.sizeof_float,source_adr)
self.zmq_source = zeromq.req_source(gr.sizeof_float, 1, source_adr)
#self.zmq_source = zeromq.pull_source(gr.sizeof_float, 1, source_adr)
#self.zmq_probe = zeromq.push_sink(gr.sizeof_float,probe_adr)