Gentoo Archives: gentoo-catalyst

From: "M. J. Everitt" <m.j.everitt@×××.org>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] [PATCH] Fix typo in fileops.py:clear_dir
Date: Sun, 09 Sep 2018 18:07:45
Message-Id: af2e429d-7179-5233-8553-de31f4727343@iee.org
1 Last one for today!
2 ---
3 catalyst/fileops.py | 8 ++++----
4 1 file changed, 4 insertions(+), 4 deletions(-)
5
6 diff --git a/catalyst/fileops.py b/catalyst/fileops.py
7 index ab6a0c9f..49154045 100644
8 --- a/catalyst/fileops.py
9 +++ b/catalyst/fileops.py
10 @@ -93,10 +93,10 @@ def clear_dir(target, mode=0o755, chg_flags=False,
11 remove=False,
12 log.info('clear_dir failed: %s: is not a directory', target)
13 return False
14 else:
15 - log.debug("Condidtions not met to clear: %s", target)
16 - log.debug(" isdir: %s", os.path.isdir(target))
17 - log.debug(" islink: %s", os.path.islink(target))
18 - log.debug(" exists: %s", os.path.exists(target))
19 + log.debug("Conditions not met to clear: %s", target)
20 + log.debug(" isdir: %s", os.path.isdir(target))
21 + log.debug(" islink: %s", os.path.islink(target))
22 + log.debug(" exists: %s", os.path.exists(target))
23 if not remove:
24 log.debug('ensure_dirs()')
25 --
26 2.13.0

Attachments

File name MIME type
signature.asc application/pgp-signature