X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-echelon;h=b2b4f0706c301a5a966393aca05689f908624cd3;hb=6602e1c9732fccb70a545d9020eeb883844cb00b;hp=884ba3b8c1f5d73302ea646ba73a7a6d8be0fdd1;hpb=fe67fab54bca15f4820e4f0a911023ed10a743b7;p=mirror%2Fuserdir-ldap.git diff --git a/ud-echelon b/ud-echelon index 884ba3b..b2b4f07 100755 --- a/ud-echelon +++ b/ud-echelon @@ -117,7 +117,7 @@ try: if not List: List = "-"; # Tada, write a log message - if User != None: + if User is not None: Msg = "[%s] \"%s\" \"%s\" \"%s\""%(Now,User[2],List,MsgID); MainLog.write("%s %s %s\n"%(User[0],User[1],Msg)); Dn = "uid=" + User[0] + "," + BaseDn;