commit: b4fc26fa8e68cbac9a536e29c52f71d7f5a614ca
Author: M. J. Everitt <m.j.everitt <AT> iee <DOT> org>
AuthorDate: Fri Jul 13 16:52:39 2018 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Mon Oct 1 16:17:14 2018 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=b4fc26fa
Fix typo in fileops.py:clear_dir
catalyst/fileops.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/catalyst/fileops.py b/catalyst/fileops.py
index 69faf4cb..878e6303 100644
--- a/catalyst/fileops.py
+++ b/catalyst/fileops.py
@@ -94,10 +94,10 @@ def clear_dir(target, mode=0o755, chg_flags=False,
remove=False,
log.info('clear_dir failed: %s: is not a directory',
target)
return False
else:
- log.debug("Condidtions not met to clear: %s", target)
- log.debug(" isdir: %s",
os.path.isdir(target))
- log.debug(" islink: %s",
os.path.islink(target))
- log.debug(" exists: %s",
os.path.exists(target))
+ log.debug("Conditions not met to clear: %s", target)
+ log.debug(" isdir: %s",
os.path.isdir(target))
+ log.debug(" islink: %s",
os.path.islink(target))
+ log.debug(" exists: %s",
os.path.exists(target))
if not remove:
log.debug('ensure_dirs()')