Skip to content

Commit

Permalink
profile.py refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Obijuan committed Mar 17, 2024
1 parent 55869f8 commit cfec19c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apio/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down

0 comments on commit cfec19c

Please sign in to comment.