There's a comparison between an integer and None that needed to be fixed
There's a comparison between an integer and None that needed to be fixed

In python2 None can be compared to 1 (None > 1 = False). In python3 this
comparison does not work. I change None to 3 right before the comparison
so the effect remains the same.

sunspec/pysunspec