--- a/refresh-auth Fri Apr 18 10:18:35 2008 +0100 +++ b/refresh-auth Fri Apr 18 12:36:36 2008 +0100 @@ -35,6 +35,7 @@ akeys.write("%s %s\n" % (prefix, l.strip())) finally: kf.close() +akeys.close() os.rename(akeyfile + "_new", akeyfile)