aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'catalyst/base/clearbase.py')
-rw-r--r--catalyst/base/clearbase.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/catalyst/base/clearbase.py b/catalyst/base/clearbase.py
index 9a4c625b..644a385f 100644
--- a/catalyst/base/clearbase.py
+++ b/catalyst/base/clearbase.py
@@ -30,13 +30,13 @@ class ClearBase(object):
def clear_chroot(self):
self.chroot_lock.unlock()
log.notice('Clearing the chroot path ...')
- clear_dir(self.settings["chroot_path"], 0o755, True)
+ clear_dir(self.settings["chroot_path"], mode=0o755, chg_flags=True)
def remove_chroot(self):
self.chroot_lock.unlock()
log.notice('Removing the chroot path ...')
- clear_dir(self.settings["chroot_path"], 0o755, True, remove=True)
+ clear_dir(self.settings["chroot_path"], mode=0o755, chg_flags=True, remove=True)
def clear_packages(self, remove=False):