diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2017-01-12 12:21:17 -0800 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2017-01-12 12:21:17 -0800 |
commit | e70db91c1621ff3673323a6514fd646575b11e43 (patch) | |
tree | 59b5379e884e1f2ac103aec9adcc39ab70366861 /gnuradio-runtime/python/pmt | |
parent | 8d80d0adacc98b02392428ab5284d8417df9c776 (diff) | |
parent | 6225e5d4d1edd67c896c6c43bdc584a078480a8d (diff) |
Merge branch 'master' into next
Diffstat (limited to 'gnuradio-runtime/python/pmt')
-rw-r--r-- | gnuradio-runtime/python/pmt/pmt_to_python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-runtime/python/pmt/pmt_to_python.py b/gnuradio-runtime/python/pmt/pmt_to_python.py index e08b7265de..f9000ec279 100644 --- a/gnuradio-runtime/python/pmt/pmt_to_python.py +++ b/gnuradio-runtime/python/pmt/pmt_to_python.py @@ -130,6 +130,6 @@ def pmt_to_python(p): def python_to_pmt(p): for python_type, pmt_check, to_python, from_python in type_mappings: if python_type is None: - if p == None: return from_python(p) + if p is None: return from_python(p) elif isinstance(p, python_type): return from_python(p) raise ValueError("can't convert %s type to pmt (%s)"%(type(p),p)) |