From 8a97023ca565ccd6a2498566af281633e26df3a4 Mon Sep 17 00:00:00 2001 From: Siddharth Ravikumar Date: Wed, 4 Mar 2015 20:52:57 -0500 Subject: combox.file.rm_nodedir uses the rm_dir function to remove directories. --- combox/file.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/combox/file.py b/combox/file.py index 3990166..cda910b 100644 --- a/combox/file.py +++ b/combox/file.py @@ -131,10 +131,7 @@ def rm_nodedir(directory, config): for node in nodes: dir_path = path.join(node, rel_path) - try: - os.rmdir(dir_path) - except OSError, e: - print e, "Something wrong. report bug to sravik@bgsu.edu" + rm_dir(dir_path) def rm_dir(directory): -- cgit v1.2.3