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