−repr
This commit is contained in:
parent
f0aa902904
commit
4cab5f3894
2 changed files with 0 additions and 12 deletions
|
@ -45,10 +45,6 @@ class Project:
|
||||||
# url
|
# url
|
||||||
self.url = add_url_path(projects.url, self.name)
|
self.url = add_url_path(projects.url, self.name)
|
||||||
|
|
||||||
def __repr__(self) -> str:
|
|
||||||
"""Represent project."""
|
|
||||||
return f"Project(projects={self.projects!r})"
|
|
||||||
|
|
||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
"""List branch, name, root & url."""
|
"""List branch, name, root & url."""
|
||||||
return f"""\
|
return f"""\
|
||||||
|
|
|
@ -34,14 +34,6 @@ class Projects:
|
||||||
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 __repr__(self) -> str:
|
|
||||||
"""Represent projects.
|
|
||||||
|
|
||||||
:return: representation
|
|
||||||
:rtype: str
|
|
||||||
"""
|
|
||||||
return "Projects()"
|
|
||||||
|
|
||||||
def __str__(self) -> str:
|
def __str__(self) -> str:
|
||||||
"""List group, name & url.
|
"""List group, name & url.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue