aboutsummaryrefslogtreecommitdiffstats
path: root/sosreport
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2013-08-21 16:42:03 +0100
committerBryn M. Reeves <bmr@redhat.com>2013-08-21 16:42:03 +0100
commit80ad174d5d7c712dff9a3781e02ecfa5f8e9e368 (patch)
treeaef27af67b1bc2ba1f9ce415203d896d1d616a97 /sosreport
parente109475ef82607345ffbbcabba1d5d471400b9ac (diff)
downloadsos-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 'sosreport')
0 files changed, 0 insertions, 0 deletions