projects
/
mirror
/
userdir-ldap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use "foo is None" instead of "foo == None".
[mirror/userdir-ldap.git]
/
ud-emailmatcher
diff --git
a/ud-emailmatcher
b/ud-emailmatcher
index
4d42d77
..
aa717d5
100755
(executable)
--- a/
ud-emailmatcher
+++ b/
ud-emailmatcher
@@
-84,7
+84,7
@@
while(1):
if FingerPrint != None and UID != 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];