def try_make_dirs(filename):
    try:
        dirname = os.path.dirname(os.path.normpath(filename))
        racedirs(dirname)
    except Exception as exc:
        sys.stderr.write('ERROR during log config file handling, could not create dirs for '
                         'filename `%s` because of: %s' % (filename, repr(exc)))
Test for Return True if the minion matches the given pillar target.
dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/pypetlogging.py/try_make_dirs--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/match_test.py/MatchTestCase.test_pillar