myriadrf / gr-limesdr

gr-limesdr Plugin for GNURadio
Other
142 stars 77 forks source link

Fix build on Python 2.7 #62

Closed quentinmit closed 4 years ago

quentinmit commented 4 years ago

Previously the gr-3.8 branch failed to build with "Expecting a string or something with content, content_ or value attribute"; this is because something was overzealous in its 2to3 conversion.

quentinmit commented 4 years ago

I believe it does work on Python 3; that's what what the try/except NameError is for. Referencing unicode on Python 3 will throw a NameError which the already existing try block will catch.

FFY00 commented 4 years ago

Ah, sorry my bad. Of course. I should go to sleep :smile:.