X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-mailgate;h=9046db6985cf15e25f1707a898ce3dc993452fb2;hb=8d364cde8a727736ecdbbb20dbdf2c018a8648d1;hp=3cd2f003fc869b9729361cfb250e36575828843a;hpb=d0b081ebce6fc5364fcb4d206e5a7985557b54d3;p=mirror%2Fuserdir-ldap.git diff --git a/ud-mailgate b/ud-mailgate index 3cd2f00..9046db6 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -204,7 +204,7 @@ def DoDNS(Str,Attrs,DnRecord): # Handle an [almost] arbitary change def HandleChange(Reply,DnRecord,Key): global PlainText; - Lines = re.split("\n *\r",PlainText); + Lines = re.split("\n *\r?",PlainText); Result = ""; Attrs = [];