##// 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,8 +576,10 b' class hgsubrepo(abstractsubrepo):'
576 576 if not os.path.exists(cachefile):
577 577 return ''
578 578 fd = open(cachefile, 'r')
579 pullstate = fd.readlines()
580 fd.close()
579 try:
580 pullstate = fd.readlines()
581 finally:
582 fd.close()
581 583 return pullstate
582 584
583 585 def _cachestorehash(self, remotepath):
General Comments 0
You need to be logged in to leave comments. Login now