Show More
@@ -576,8 +576,10 b' 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 | pullstate = fd.readlines() |
|
579 | try: | |
580 | fd.close() |
|
580 | pullstate = fd.readlines() | |
|
581 | finally: | |||
|
582 | fd.close() | |||
581 | return pullstate |
|
583 | return pullstate | |
582 |
|
584 | |||
583 | def _cachestorehash(self, remotepath): |
|
585 | def _cachestorehash(self, remotepath): |
General Comments 0
You need to be logged in to leave comments.
Login now