diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2017-01-12 12:10:47 -0800 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2017-01-12 12:10:47 -0800 |
commit | 6225e5d4d1edd67c896c6c43bdc584a078480a8d (patch) | |
tree | 3b389a8009da2a39a7bc9bc6c25096dd04b252ba /gnuradio-runtime/python/pmt | |
parent | 3f14e437aae69e5a96be4f777f4314945dbc2955 (diff) | |
parent | 591369362b985ac721f1c7bd0ef4fea9b5c759d9 (diff) |
Merge branch 'maint'
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)) |