automx Release Candidate 0.8~rc1

Christian Rößner c at roessner-network-solutions.com
Wed Mar 14 20:24:29 CET 2012


Hi,

> I found the problem:
> 
> In config.py line 569 and following only ONE is replaced
> 
>        if "%u" in expression:
>            user = self.__emailaddress.split("@")[0]
>            expression = expression.replace("%u", user)
>        elif "%d" in expression:
>            domain = self.__search_domain
>            expression = expression.replace("%d", domain)
>        elif "%s" in expression:
>            email = self.__emailaddress
>            expression = expression.replace("%s", email)
> I think in general we should replace the elif ...  by simple if ...
> so multiple replacements can be made....


thank you very much! Good point. We will fix it.

-Christian

---
Roessner-Network-Solutions
Bachelor of Science Informatik
Nahrungsberg 81, 35390 Gießen
F: +49 641 5879091, M: +49 176 93118939
USt-IdNr.: DE225643613
http://www.roessner-network-solutions.com



More information about the automx-users mailing list