diff options
author | Jacek Kryszyn <j.kryszyn@samsung.com> | 2024-06-10 09:27:35 +0200 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2024-06-13 13:22:43 +0900 |
commit | 70bbd9916a0bd8b0ff563fb6b85b5555dbb4466f (patch) | |
tree | 830c56deb2fca68de57599e82e7ffafa7ed80bd4 | |
parent | d1298c26421f3e8f9f057c1f2949bbd62f4d0dee (diff) | |
download | u-boot-70bbd9916a0bd8b0ff563fb6b85b5555dbb4466f.tar.gz u-boot-70bbd9916a0bd8b0ff563fb6b85b5555dbb4466f.tar.bz2 u-boot-70bbd9916a0bd8b0ff563fb6b85b5555dbb4466f.zip |
scripts: sd_fusing: change log.* to logging.*
There were several occursences of log.* instead of
logging.* which are fixed in this commit.
Change-Id: Ic30fa959f5cb4c3b3a820ae716183738c6bdddac
Signed-off-by: Jacek Kryszyn <j.kryszyn@samsung.com>
-rwxr-xr-x | scripts/tizen/sd_fusing.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/tizen/sd_fusing.py b/scripts/tizen/sd_fusing.py index f2f2fb9e89..39b83ba7e0 100755 --- a/scripts/tizen/sd_fusing.py +++ b/scripts/tizen/sd_fusing.py @@ -740,7 +740,7 @@ def check_sfdisk(): support_delete = False if major < 2 or major == 2 and minor < 26: - log.error(f"Your sfdisk {major}.{minor}.{patch} is too old.") + logging.error(f"Your sfdisk {major}.{minor}.{patch} is too old.") return False,False elif major == 2 and minor >= 28: support_delete = True @@ -830,7 +830,7 @@ def mkpart(args, target): stdin=subprocess.DEVNULL, stdout=None, stderr=None) if proc.returncode != 0: - log.error(f"Failed to create FAT filesystem on {d}") + logging.error(f"Failed to create FAT filesystem on {d}") sys.exit(1) elif part['fstype'] == 'ext4': argv = ['mkfs.ext4', '-q', '-L', part['name'], d] @@ -839,7 +839,7 @@ def mkpart(args, target): stdin=subprocess.DEVNULL, stdout=None, stderr=None) if proc.returncode != 0: - log.error(f"Failed to create ext4 filesystem on {d}") + logging.error(f"Failed to create ext4 filesystem on {d}") sys.exit(1) elif part['fstype'] == 'swap': argv = ['mkswap', '-L', part['name'], d] @@ -848,7 +848,7 @@ def mkpart(args, target): stdin=subprocess.DEVNULL, stdout=None, stderr=None) if proc.returncode != 0: - log.error(f"Failed to format swap partition {d}") + logging.error(f"Failed to format swap partition {d}") sys.exit(1) elif part['fstype'] == 'raw': pass |