−str
Some checks failed
/ arch (push) Successful in 1m22s
/ alpine (push) Successful in 44s
/ fedora (push) Successful in 7m37s
/ opensuse (push) Successful in 2m34s
/ alma (push) Successful in 2m28s
/ rocky (push) Successful in 7m1s
/ ubuntu (push) Successful in 1m14s
/ debian (push) Failing after 58s

This commit is contained in:
Marc Beninca 2024-09-16 21:47:53 +02:00
parent 4cab5f3894
commit b3f4cffbca
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 0 additions and 21 deletions

View file

@ -44,12 +44,3 @@ class Project:
self.root = Path(value) self.root = Path(value)
# url # url
self.url = add_url_path(projects.url, self.name) self.url = add_url_path(projects.url, self.name)
def __str__(self) -> str:
"""List branch, name, root & url."""
return f"""\
branch = {self.branch}
name = {self.name}
root = {self.root}
url = {self.url}
"""

View file

@ -33,15 +33,3 @@ class Projects:
for variable in SERVER_URL: for variable in SERVER_URL:
if value := self.environment.get(variable, None): if value := self.environment.get(variable, None):
self.url = add_url_path(value, self.group) self.url = add_url_path(value, self.group)
def __str__(self) -> str:
"""List group, name & url.
:return: string
:rtype: str
"""
return f"""\
group = {self.group}
name = {self.name}
url = {self.url}
"""