From 8b4c2404270ee4d3db33e9dd4d7c0590dafd7411 Mon Sep 17 00:00:00 2001 From: Siddharth Ravikumar Date: Wed, 4 Mar 2015 21:02:56 -0500 Subject: combox.file.mk_nodedir uses mk_dir to create a directory. --- combox/file.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/combox/file.py b/combox/file.py index cda910b..461d313 100644 --- a/combox/file.py +++ b/combox/file.py @@ -104,10 +104,7 @@ def mk_nodedir(directory, config): for node in nodes: dir_path = path.join(node, rel_path) - try: - os.mkdir(dir_path) - except OSError, e: - print e, "Something wrong. report bug to sravik@bgsu.edu" + mk_dir(dir_path) def mk_dir(directory): -- cgit v1.2.3