summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block/grc
diff options
context:
space:
mode:
authorEric Blossom <eb@comsec.com>2010-03-04 07:02:42 -0800
committerEric Blossom <eb@comsec.com>2010-03-04 07:02:42 -0800
commit6c3b6396bc420228215072b2fc1b83c82eaeb291 (patch)
tree1236889fec1ca3b5f65e8b5992a8f67f490a5eb4 /gr-howto-write-a-block/grc
parentb811e8749dcd7c96f1af2d98caba403e50c1602b (diff)
Refactor gr-howto-write-a-block such that it no longer installs into
the gnuradio python namespace, but rather in the howto namespace. This allows it to be installed under a separate --prefix in the common case where the user doing the "out of tree build" is going to be installing their new and/or modified code somewhere other than the system installation directories. Any code that uses these blocks should now import them using: import howto instead of from gnuradio import howto
Diffstat (limited to 'gr-howto-write-a-block/grc')
-rw-r--r--gr-howto-write-a-block/grc/howto_square2_ff.xml2
-rw-r--r--gr-howto-write-a-block/grc/howto_square_ff.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/gr-howto-write-a-block/grc/howto_square2_ff.xml b/gr-howto-write-a-block/grc/howto_square2_ff.xml
index 2b46106e81..c58ef00478 100644
--- a/gr-howto-write-a-block/grc/howto_square2_ff.xml
+++ b/gr-howto-write-a-block/grc/howto_square2_ff.xml
@@ -3,7 +3,7 @@
<name>Square2</name>
<key>howto_square2_ff</key>
<category>HOWTO</category>
- <import>from gnuradio import howto</import>
+ <import>import howto</import>
<make>howto.square2_ff()</make>
<sink>
diff --git a/gr-howto-write-a-block/grc/howto_square_ff.xml b/gr-howto-write-a-block/grc/howto_square_ff.xml
index ed318bfc6e..34a0b0a3f2 100644
--- a/gr-howto-write-a-block/grc/howto_square_ff.xml
+++ b/gr-howto-write-a-block/grc/howto_square_ff.xml
@@ -3,7 +3,7 @@
<name>Square</name>
<key>howto_square_ff</key>
<category>HOWTO</category>
- <import>from gnuradio import howto</import>
+ <import>import howto</import>
<make>howto.square_ff()</make>
<sink>