##// END OF EJS Templates
config: close file even if we fail to read it...
config: close file even if we fail to read it If we get an exception from cfg.read(), we would not close the file before this patch. This patch uses a context manager to make sure we close it. Differential Revision: https://phab.mercurial-scm.org/D7626

File last commit:

r39808:ae531f5e default
r44362:c41ed5d4 default
Show More
__init__.py
0 lines | 0 B | text/x-python | PythonLexer