Skip to content

Commit

Permalink
Merge pull request #2631 from spatialthoughts/patch-1
Browse files Browse the repository at this point in the history
Change comparison back to NULL
  • Loading branch information
m-kuhn committed Jan 4, 2016
2 parents 49eaf16 + 899c57a commit 73945c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/fTools/tools/doSpatialJoin.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def myself(L):

def filter_null(vals):
"""Takes an iterator of values and returns a new iterator returning the same values but skipping any NULL values"""
return (v for v in vals if v is not None)
return (v for v in vals if v != NULL)


class Dialog(QDialog, Ui_Dialog):
Expand Down

0 comments on commit 73945c0

Please sign in to comment.