Mercurial > hg
comparison i18n/da.po @ 21887:9aaffb22d7d7
subrepo: ensure "close()" execution at the end of "_calcfilehash()"
Before this patch, "close()" for the file object opened in
"_calcfilehash()" may not be executed, if unexpected exception is
raised, because it isn't executed in "finally" clause.
This patch ensures "close()" execution at the end of "_calcfilehash()"
by moving it into "finally" clause.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Fri, 20 Jun 2014 00:21:19 +0900 |
parents | f493c2f67430 |
children | 131c4d3eae1d |
comparison
equal
deleted
inserted
replaced
21886:b9e8fdc35daf | 21887:9aaffb22d7d7 |
---|