summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/python/pmt/__init__.py
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-06-27 15:09:56 -0400
committerTom Rondeau <tom@trondeau.com>2014-06-28 13:58:57 -0400
commit3d8a19b55a15a285d5a95d1e786cb93e26cb4f3a (patch)
tree6e76b706bfe46b0af9b59f43465b8a2125042700 /gnuradio-runtime/python/pmt/__init__.py
parent34b04e3f9a1e9f20d1011a23192b97ea9b7e6b04 (diff)
runtime: mods for pmt's NIL.
Diffstat (limited to 'gnuradio-runtime/python/pmt/__init__.py')
-rw-r--r--gnuradio-runtime/python/pmt/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnuradio-runtime/python/pmt/__init__.py b/gnuradio-runtime/python/pmt/__init__.py
index 00940e4cc1..1c7db73322 100644
--- a/gnuradio-runtime/python/pmt/__init__.py
+++ b/gnuradio-runtime/python/pmt/__init__.py
@@ -48,6 +48,9 @@ except ImportError:
__path__.append(os.path.join(dirname, "..", "..", "swig"))
from pmt_swig import *
+# due to changes in the PMT_NIL singleton for static builds, we force
+# this into Python here.
+PMT_NIL = get_PMT_NIL()
+
from pmt_to_python import pmt_to_python as to_python
from pmt_to_python import python_to_pmt as to_pmt
-