This commit is contained in:
Marc Beninca 2024-09-15 01:37:45 +02:00
parent f2991cff04
commit 73c7ac00f4
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -15,3 +15,10 @@ class OS(ABC):
@abstractmethod @abstractmethod
def get_name(self) -> str: def get_name(self) -> str:
"""Return mandatory name.""" """Return mandatory name."""
def __str__(self) -> str:
"""Return root & name."""
return f"""\
root = {self.root}
name = {self.name}
"""