X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-mailgate;h=586dddbd2766bb435dbf165747395a5e56f5bb11;hb=10ed90c0bd35fb4538ef4e1b28fce41052aa124f;hp=afbe4c3b741c8abbba90a40fc2e03a2fb9f6c54f;hpb=48e9b9e737e6760ce7b7a36a1a289f0de03fb011;p=mirror%2Fuserdir-ldap.git diff --git a/ud-mailgate b/ud-mailgate index afbe4c3..586dddb 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -128,7 +128,7 @@ def DoDel(Str,Attrs): return None; G = Match.groups(); - if ArbChanges.has_key(G[0]) == 0: + if DelItems.has_key(G[0]) == 0: return "Cannot erase entry %s"%(G[0]); Attrs.append((ldap.MOD_DELETE,G[0],None));