##// END OF EJS Templates
subrepo: ensure "close()" execution at the end of "_readstorehashcache()"...
FUJIWARA Katsunori -
r21888:dfb8f757 default
parent child Browse files
Show More
@@ -576,7 +576,9 class hgsubrepo(abstractsubrepo):
576 if not os.path.exists(cachefile):
576 if not os.path.exists(cachefile):
577 return ''
577 return ''
578 fd = open(cachefile, 'r')
578 fd = open(cachefile, 'r')
579 try:
579 pullstate = fd.readlines()
580 pullstate = fd.readlines()
581 finally:
580 fd.close()
582 fd.close()
581 return pullstate
583 return pullstate
582
584
General Comments 0
You need to be logged in to leave comments. Login now