From a03342d81cfc6c5c1ec7843eed932491e5d9c6fe Mon Sep 17 00:00:00 2001 From: theonepath Date: Sat, 29 Jul 2023 21:15:06 +0100 Subject: [PATCH] Updated common.py Changed value name from 'NORMAL' to 'INFO'. --- src/clog/utils/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/clog/utils/common.py b/src/clog/utils/common.py index 062b220..9a20db8 100644 --- a/src/clog/utils/common.py +++ b/src/clog/utils/common.py @@ -14,7 +14,7 @@ class LogLevel: Higher `int` value means higher severity of level for logging. """ - NORMAL = 0 + INFO = 0 PASS = 1 DEBUG = 2 WARN = 3 @@ -49,4 +49,4 @@ def is_path_spec(path_spec: str) -> bool: ## perform a regex match to ensure that the given path is a ## valid pathspec for the system. return bool(re.match(__REGEX_PAT, path_spec.strip(r"\"'")) - or re.match(r'^[\w\d\-_\.]+$', path_spec.strip(r"\"'"))) \ No newline at end of file + or re.match(r'^[\w\d\-_\.]+$', path_spec.strip(r"\"'")))