X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=ud-mailgate;h=952a4dc0e37ddba21a2e6b4868b5c0e009b97e8b;hp=a37b047b59a620017d86a4a80dce10f088ee3296;hb=756aa679658608227f9df33f7d0a51ffff460597;hpb=def6876eac05992f43ee77196966bd02f96776e6 diff --git a/ud-mailgate b/ud-mailgate index a37b047..952a4dc 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -41,12 +41,12 @@ ValidHostNames = [] # will be initialized in later SSHFingerprint = re.compile('^(\d+) ([0-9a-f\:]{47}) (.+)$') SSHRSA1Match = re.compile('^^(.* )?\d+ \d+ \d+') -GenderTable = {"male": 1, - "1": 1, - "female": 2, - "2": 2, - "unspecified": 9, - "9": 9, +GenderTable = {"male": '1', + "1": '1', + "female": '2', + "2": '2', + "unspecified": '9', + "9": '9', }; ArbChanges = {"c": "..",