X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-emailmatcher;h=b6e054d7c243e0953587b1a756097fca634f72a5;hb=4eaa444b9eb4c9d24cd2790f99a690054bf2f806;hp=aa717d5cdf0b5813bd6115eb135aea07a3429daa;hpb=fe67fab54bca15f4820e4f0a911023ed10a743b7;p=mirror%2Fuserdir-ldap.git diff --git a/ud-emailmatcher b/ud-emailmatcher index aa717d5..b6e054d 100755 --- a/ud-emailmatcher +++ b/ud-emailmatcher @@ -81,7 +81,7 @@ while(1): Split = Line.split(":") if len(Split) >= 8 and Split[0] == "pub": - if FingerPrint != None and UID != None: + if FingerPrint is not None and UID is not None: for x in Emails: Match = AddressSplit.match(x); if Match is None: