diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-02-19 17:03:58 -0500 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-02-19 17:03:58 -0500 |
commit | ee62b5bb0fb0c3f184a8dc79720ea379951eb8c6 (patch) | |
tree | f9cb2656cc1ec7db625075a0a876e006c62730fe /cobbler/action_sync.py | |
parent | 978103bc2e95d16f840c98a337f170ecaf3771c2 (diff) | |
download | cobbler-ee62b5bb0fb0c3f184a8dc79720ea379951eb8c6.tar.gz cobbler-ee62b5bb0fb0c3f184a8dc79720ea379951eb8c6.tar.xz cobbler-ee62b5bb0fb0c3f184a8dc79720ea379951eb8c6.zip |
Be a little nicer on file deletes, release housekeeping.
Diffstat (limited to 'cobbler/action_sync.py')
-rw-r--r-- | cobbler/action_sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cobbler/action_sync.py b/cobbler/action_sync.py index a728865d..e243afa4 100644 --- a/cobbler/action_sync.py +++ b/cobbler/action_sync.py @@ -830,7 +830,7 @@ class BootSync: if os.path.isfile(path): return self.rmfile(path) else: - return shutil.rmtree(path,ignore_errors=False) + return shutil.rmtree(path,ignore_errors=True) except OSError, ioe: traceback.print_exc() if not ioe.errno == errno.ENOENT: # doesn't exist |