Make basic blocks obvious in logs
This commit is contained in:
parent
04b43def9d
commit
3ea5b74557
@ -6,7 +6,7 @@ class CompetitionClass:
|
|||||||
self.name = text
|
self.name = text
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return self.name
|
return f"C({self.name})"
|
||||||
|
|
||||||
|
|
||||||
class CombinedCompetitionClass:
|
class CombinedCompetitionClass:
|
||||||
|
@ -6,7 +6,7 @@ class Group:
|
|||||||
self.name = text
|
self.name = text
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return self.name
|
return f"G({self.name})"
|
||||||
|
|
||||||
def getContainedGroups(self):
|
def getContainedGroups(self):
|
||||||
return (self,)
|
return (self,)
|
||||||
|
@ -3,8 +3,8 @@ class Place:
|
|||||||
self.place = place
|
self.place = place
|
||||||
self.placeTo = placeTo
|
self.placeTo = placeTo
|
||||||
|
|
||||||
def __str__(self):
|
def __repr__(self):
|
||||||
if self.placeTo is None:
|
if self.placeTo is None:
|
||||||
return f"{self.place}."
|
return f"P({self.place}.)"
|
||||||
|
|
||||||
return f"{self.place}.-{self.placeTo}"
|
return f"P({self.place}.-{self.placeTo}.)"
|
||||||
|
Loading…
Reference in New Issue
Block a user