ensure_dirs: Move some useful functions into utils.
With this change we can easily reuse this functionality where it makes sense on other parts of Ganeti. Signed-off-by:René Nussbaumer <rn@google.com> Reviewed-by:
Michael Hanselmann <hansmi@google.com>
Showing
- lib/tools/ensure_dirs.py 10 additions, 82 deletionslib/tools/ensure_dirs.py
- lib/utils/io.py 68 additions, 0 deletionslib/utils/io.py
- test/ganeti.tools.ensure_dirs_unittest.py 0 additions, 122 deletionstest/ganeti.tools.ensure_dirs_unittest.py
- test/ganeti.utils.io_unittest.py 124 additions, 0 deletionstest/ganeti.utils.io_unittest.py
Loading
Please register or sign in to comment