1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
class Team(object): name = '' score = 0.0 class Match(object): id = None teams = None running = 0 link = None winner = None loser = None winner_matches = None loser_matches = None class Phase(object): title = None link = None matches = [] running = False __all__ = ('Team', 'Match', 'Phase')