commit | a4b1cef845e6e3a952fd411bf72c280698833abb | [log] [tgz] |
---|---|---|
author | zhang.lei <zhang.lei@99cloud.net> | Tue Mar 01 10:50:01 2016 +0800 |
committer | zhang.lei <zhang.lei@99cloud.net> | Thu Mar 10 11:21:58 2016 +0800 |
tree | 9b8e7ce7f967e90d25e6dc72d8c58d6e08a7ff2c | |
parent | 74afe236d31d79bc7a2418e5caa2880362a7cbe1 [diff] |
Optimize "open" method with context manager Use opening context manager to open a file. Change-Id: Ice9be6350fd01cbf5eec686ac68d7fc8b5a4d5bd