summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/ofdm/fftshift.py
diff options
context:
space:
mode:
authoreb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>2008-02-08 04:36:24 +0000
committereb <eb@221aa14e-8319-0410-a670-987f0aec2ac5>2008-02-08 04:36:24 +0000
commit05005e3d3fad3c9baee9906714510b5d12e0fa6f (patch)
tree6f3785d80ac03b213dce984c9eb14be9b4c86571 /gnuradio-examples/python/ofdm/fftshift.py
parent42ad2adb86981f4488edbe33169683f787b807c3 (diff)
Removed gr.flow_graph, gr.hier_block and friends. From here on out
all work on the trunk must use gr.top_block and gr.hier_block2. Merged eb/fg-no-more -r7602:7606 into trunk. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@7607 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-examples/python/ofdm/fftshift.py')
-rwxr-xr-xgnuradio-examples/python/ofdm/fftshift.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnuradio-examples/python/ofdm/fftshift.py b/gnuradio-examples/python/ofdm/fftshift.py
index 6b355326c6..98abf5d4ba 100755
--- a/gnuradio-examples/python/ofdm/fftshift.py
+++ b/gnuradio-examples/python/ofdm/fftshift.py
@@ -2,9 +2,9 @@
from gnuradio import gr
-class my_graph(gr.flow_graph):
+class my_top_block(gr.top_block):
def __init__(self):
- gr.flow_graph.__init__(self)
+ gr.top_block.__init__(self)
length = 101
@@ -32,9 +32,9 @@ class my_graph(gr.flow_graph):
def main():
- fg = my_graph()
- fg.start()
- fg.wait()
+ tb = my_top_block()
+ tb.start()
+ tb.wait()
if __name__ == "__main__":
try: