tags: delete unnecessary close() of atomictempfile
authorYuya Nishihara <yuya@tcha.org>
Sat, 24 Apr 2010 18:08:06 +0900
changeset 11013 45351e65230b
parent 11012 81631f0cf13b
child 11014 e8f256a44a65
tags: delete unnecessary close() of atomictempfile cachefile.rename() implies cachefile.close().
mercurial/tags.py
--- a/mercurial/tags.py	Sun Apr 25 18:27:12 2010 +0200
+++ b/mercurial/tags.py	Sat Apr 24 18:08:06 2010 +0900
@@ -337,4 +337,3 @@
         cachefile.write("%s %s\n" % (hex(node), name))
 
     cachefile.rename()
-    cachefile.close()