Make basic blocks obvious in logs
This commit is contained in:
parent
04b43def9d
commit
3ea5b74557
@ -6,7 +6,7 @@ class CompetitionClass:
|
||||
self.name = text
|
||||
|
||||
def __repr__(self):
|
||||
return self.name
|
||||
return f"C({self.name})"
|
||||
|
||||
|
||||
class CombinedCompetitionClass:
|
||||
|
@ -6,7 +6,7 @@ class Group:
|
||||
self.name = text
|
||||
|
||||
def __repr__(self):
|
||||
return self.name
|
||||
return f"G({self.name})"
|
||||
|
||||
def getContainedGroups(self):
|
||||
return (self,)
|
||||
|
@ -3,8 +3,8 @@ class Place:
|
||||
self.place = place
|
||||
self.placeTo = placeTo
|
||||
|
||||
def __str__(self):
|
||||
def __repr__(self):
|
||||
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