for x in PasswdAttrs:
if x[1].has_key("dnsZoneEntry") == 0:
continue;
+
+ # If the account has no PGP key, do not write it
+ if x[1].has_key("keyFingerPrint") == 0:
+ continue;
try:
F.write("; %s\n"%(EmailAddress(x)));
for z in x[1]["dnsZoneEntry"]:
for x in PasswdAttrs:
if x[1].has_key("dnsZoneEntry") == 0:
continue;
+
+ # If the account has no PGP key, do not write it
+ if x[1].has_key("keyFingerPrint") == 0:
+ continue;
try:
for z in x[1]["dnsZoneEntry"]:
Split = string.split(string.lower(z));