Fixed zone generation
authorjgg <>
Sat, 25 Nov 2000 06:48:49 +0000 (06:48 +0000)
committerjgg <>
Sat, 25 Nov 2000 06:48:49 +0000 (06:48 +0000)
ud-generate
ud-gpgimport

index 9e74197..b20e6bb 100755 (executable)
@@ -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));
index 4b43bc7..de79b71 100755 (executable)
@@ -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