[PATCH] Fix typo in fileops.py:clear_dir

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] Fix typo in fileops.py:clear_dir

M. J. Everitt
Last one for today!
---
 catalyst/fileops.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/catalyst/fileops.py b/catalyst/fileops.py
index ab6a0c9f..49154045 100644
--- a/catalyst/fileops.py
+++ b/catalyst/fileops.py
@@ -93,10 +93,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()')
--
2.13.0



signature.asc (836 bytes) Download Attachment