Revision a9b7e346
b/lib/backend.py | ||
---|---|---|
2679 | 2679 |
|
2680 | 2680 |
subdir = "%s-%s.d" % (hpath, suffix) |
2681 | 2681 |
dir_name = "%s/%s" % (self._BASE_DIR, subdir) |
2682 |
runparts_results = utils.RunParts(dir_name, env=env, reset_env=True) |
|
2683 | 2682 |
|
2684 | 2683 |
results = [] |
2684 |
|
|
2685 |
if not os.path.isdir(dir_name): |
|
2686 |
# for non-existing/non-dirs, we simply exit instead of logging a |
|
2687 |
# warning at every operation |
|
2688 |
return results |
|
2689 |
|
|
2690 |
runparts_results = utils.RunParts(dir_name, env=env, reset_env=True) |
|
2691 |
|
|
2685 | 2692 |
for (relname, relstatus, runresult) in runparts_results: |
2686 | 2693 |
if relstatus == constants.RUNPARTS_SKIP: |
2687 | 2694 |
rrval = constants.HKR_SKIP |
Also available in: Unified diff