ud-update-sudopasswords: drop trailing semicolons
[mirror/userdir-ldap.git] / ud-emailmatcher
index 4d42d77..b6e054d 100755 (executable)
@@ -81,10 +81,10 @@ 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 == None:
+            if Match is None:
               continue;
             Groups = Match.groups();
            Email = Groups[1]+'@'+Groups[2];