diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2013-08-21 16:42:03 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2013-08-21 16:42:03 +0100 |
commit | 80ad174d5d7c712dff9a3781e02ecfa5f8e9e368 (patch) | |
tree | aef27af67b1bc2ba1f9ce415203d896d1d616a97 /tests/report_tests.py | |
parent | e109475ef82607345ffbbcabba1d5d471400b9ac (diff) | |
download | sos-80ad174d5d7c712dff9a3781e02ecfa5f8e9e368.tar.gz |
Add Plugin method to create new command output directories
Some plug-ins want to store command output in subdirectories of
their 'sos_commands/<plugin>/' directory. Currently there are
various hand-rolled methods to build this in different plug-ins.
Add a single method to the base Plugin class that builds the
correct path string and recursively creates the directories via
os.makedirs() in a single step.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'tests/report_tests.py')
0 files changed, 0 insertions, 0 deletions