From 3d8a19b55a15a285d5a95d1e786cb93e26cb4f3a Mon Sep 17 00:00:00 2001
From: Tom Rondeau <tom@trondeau.com>
Date: Fri, 27 Jun 2014 15:09:56 -0400
Subject: runtime: mods for pmt's NIL.

---
 gnuradio-runtime/python/pmt/__init__.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'gnuradio-runtime/python/pmt/__init__.py')

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
-
-- 
cgit v1.2.3