Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:master commit in: catalyst/
Date: Mon, 01 Oct 2018 16:30:27
Message-Id: 1538410634.b4fc26fa8e68cbac9a536e29c52f71d7f5a614ca.dolsen@gentoo
1 commit: b4fc26fa8e68cbac9a536e29c52f71d7f5a614ca
2 Author: M. J. Everitt <m.j.everitt <AT> iee <DOT> org>
3 AuthorDate: Fri Jul 13 16:52:39 2018 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 1 16:17:14 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=b4fc26fa
7
8 Fix typo in fileops.py:clear_dir
9
10 catalyst/fileops.py | 8 ++++----
11 1 file changed, 4 insertions(+), 4 deletions(-)
12
13 diff --git a/catalyst/fileops.py b/catalyst/fileops.py
14 index 69faf4cb..878e6303 100644
15 --- a/catalyst/fileops.py
16 +++ b/catalyst/fileops.py
17 @@ -94,10 +94,10 @@ def clear_dir(target, mode=0o755, chg_flags=False, remove=False,
18 log.info('clear_dir failed: %s: is not a directory', target)
19 return False
20 else:
21 - log.debug("Condidtions not met to clear: %s", target)
22 - log.debug(" isdir: %s", os.path.isdir(target))
23 - log.debug(" islink: %s", os.path.islink(target))
24 - log.debug(" exists: %s", os.path.exists(target))
25 + log.debug("Conditions not met to clear: %s", target)
26 + log.debug(" isdir: %s", os.path.isdir(target))
27 + log.debug(" islink: %s", os.path.islink(target))
28 + log.debug(" exists: %s", os.path.exists(target))
29
30 if not remove:
31 log.debug('ensure_dirs()')