This makes things more convenient for callers, in general.
raise U.ExpectedError, \
(500, "New `%s' field contains %s" % (k, what))
fields[v] = val
- return me._delim.join(fields)
+ return me._delim.join(fields) + '\n'
class FlatFileBackend (object):
"""
f_out.write(line)
else:
f_out.write(rec._format())
- f_out.write('\n')
## Update the permissions on the new file. Don't try to fix the
## ownership (we shouldn't be running as root) or the group (the