From c27eb9f519df17bb1dec7e20f1c31864559357be Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sat, 6 Apr 2019 22:05:21 +0200 Subject: [PATCH] Make arbitrary attribute change work again This was broken by mistake during the pep8 cleanup --- debian/changelog | 7 +++++++ ud-mailgate | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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: -- 2.20.1