nboley / idr

IDR
GNU General Public License v2.0
168 stars 46 forks source link

use `is` for comparison with `None` #11

Closed daler closed 9 years ago

daler commented 9 years ago

This change avoids raising the following FutureWarning in Python 3.4:

idr.py:415: FutureWarning: comparison to `None` will result in an elementwise object comparison in the future.
    if localIDRs == None or IDRs == None: