# Flad restriction error
-checking_error = "flad.checking_error"
+class checking_error(Exception):
+ pass
# Default key/value separator
def_keysep = ": "
flush_record = 1 # Set flag for all but 1st record
if copy_rec:
- for key in copy_rec.keys():
+ for key in list(copy_rec.keys()):
outfile.write(key + self.key_sep + copy_rec[key] + '\n')
del copy_rec[key]