From cfec19cf8071598430871cf9b7a59cbd1aa41737 Mon Sep 17 00:00:00 2001 From: Obijuan Date: Sun, 17 Mar 2024 13:42:47 +0100 Subject: [PATCH] profile.py refactoring --- apio/profile.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apio/profile.py b/apio/profile.py index 5d9a2bb6..70200a77 100644 --- a/apio/profile.py +++ b/apio/profile.py @@ -121,10 +121,10 @@ def remove_package(self, name: str): if name in self.packages.keys(): del self.packages[name] - def get_verbose_mode(self): - """DOC: todo""" + def get_verbose_mode(self) -> int: + """Get the verbose mode""" - return int(self.config.get("verbose", False)) + return int(self.config["verbose"], False) def get_package_version(self, name: str) -> str: """Return the version of the given package"""