Skip to content

Commit 30dbd87

Browse files
authored
Merge pull request #312 from desultory/dev
use warning instead of info for logging kmods ignored due to deps
2 parents 779abb5 + 1660685 commit 30dbd87

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ugrd/kmod/kmod.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "desultory"
2-
__version__ = "3.4.0"
2+
__version__ = "3.4.1"
33

44
from pathlib import Path
55
from platform import uname
@@ -455,7 +455,7 @@ def _process_optional_modules(self) -> None:
455455
_process_kmod_dependencies(self, kmod)
456456
self["kmod_init"] = kmod # add to kmod_init so it will be loaded
457457
except IgnoredModuleError as e:
458-
self.logger.info(e)
458+
self.logger.warning(e)
459459
except BuiltinModuleError:
460460
self.logger.debug(f"Optional kmod_init module is built-in, skipping: {c_(kmod, 'yellow')}")
461461
continue
@@ -481,7 +481,7 @@ def process_modules(self) -> None:
481481
self["kernel_modules"].remove(kmod)
482482
continue # Don't add built-in modules to the ignore list
483483
except IgnoredModuleError as e:
484-
self.logger.info(e)
484+
self.logger.warning(e)
485485
except DependencyResolutionError as e:
486486
if kmod in self["kmod_init"]:
487487
# Once optional modules are fully implemented, this should raise an exception instead

0 commit comments

Comments
 (0)