From: Peter Palfrader Date: Sat, 6 Apr 2019 20:05:21 +0000 (+0200) Subject: Make arbitrary attribute change work again X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=c27eb9f519df17bb1dec7e20f1c31864559357be Make arbitrary attribute change work again This was broken by mistake during the pep8 cleanup --- diff --git a/debian/changelog b/debian/changelog index 2a55173..ea73f96 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +userdir-ldap (0.3.97) UNRELEASED; urgency=medium + + * Make arbitrary attribute change work again. + This was broken by mistake during the pep8 cleanup. + + -- Peter Palfrader Sat, 06 Apr 2019 22:04:34 +0200 + userdir-ldap (0.3.96) unstable; urgency=medium * And yet another ud-mailgate typo. diff --git a/ud-mailgate b/ud-mailgate index 3c1ad96..d4e3f1d 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -189,7 +189,7 @@ def DoArbChange(Str, Attrs): if i.lower() == attrName: attrName = i break - if attrName in ArbChanges: + if attrName not in ArbChanges: return None if re.match(ArbChanges[attrName], G[1]) is None: