Module: check_mk
Branch: master
Commit: 640884c9769981f2036f4174655433e43b4d87ae
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=640884c9769981…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Sun Feb 17 21:54:40 2019 +0100
Fix some chdir calls remaining in target dir
Some actions currently perform os.chdir() calls but were not
correctly returning to the source directory.
This issue has now been fixed by introducing a context manager
that cares about restoring the previous state.
CMK-1603
Change-Id: I3db60082e396932a8229f86e4675c77f6ec5fa77
---
omd/packages/omd/omdlib/main.py | 209 +++++++++++++++++++++-------------------
1 file changed, 109 insertions(+), 100 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=640884c976…