From: jgg <> Date: Sat, 25 Nov 2000 06:48:49 +0000 (+0000) Subject: Fixed zone generation X-Git-Tag: debian_userdir-ldap_0-3-7~119 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=db36cbb61b95f316e9f9bc0d89aea2d3bef3dc54 Fixed zone generation --- diff --git a/ud-generate b/ud-generate index 9e74197..b20e6bb 100755 --- a/ud-generate +++ b/ud-generate @@ -407,7 +407,7 @@ def GenDNS(l,File): F.write(Line); # Write some identication information - if string.lower(Split[2]) != "cname": + if string.lower(Split[2]) == "a": Line = "%s IN TXT \"%s\"\n"%(Split[0],EmailAddress(x)); for y in x[1]["keyfingerprint"]: Line = Line + "%s IN TXT \"PGP %s\"\n"%(Split[0],FormatPGPKey(y)); diff --git a/ud-gpgimport b/ud-gpgimport index 4b43bc7..de79b71 100755 --- a/ud-gpgimport +++ b/ud-gpgimport @@ -46,7 +46,7 @@ for (switch, val) in options: NoAct = 0; if len(arguments) == 0: print "Give some keyrings to probe"; - os.exit(0); + sys.exit(0); # Main program starts here