diff options
author | Siddharth Ravikumar <sravik@bgsu.edu> | 2015-03-04 21:02:56 -0500 |
---|---|---|
committer | Siddharth Ravikumar <sravik@bgsu.edu> | 2015-03-04 21:02:56 -0500 |
commit | 8b4c2404270ee4d3db33e9dd4d7c0590dafd7411 (patch) | |
tree | 12588744c7b5dcaf910a56a5bbc0d3ef147e70aa | |
parent | 8a97023ca565ccd6a2498566af281633e26df3a4 (diff) |
combox.file.mk_nodedir uses mk_dir to create a directory.
-rw-r--r-- | combox/file.py | 5 |
1 files changed, 1 insertions, 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): |