#NEWLINE# def final_check( self , cursor ) : #NEWLINE# #INDENT# 'Sanity-check that teams and balance have been dealt with.\n        ' #NEWLINE# if self . get_teams ( cursor = cursor ) : #NEWLINE# #INDENT# raise self . StillATeamOwner #NEWLINE# #UNINDENT# if ( self . balance != 0 ) : #NEWLINE# #INDENT# raise self . BalanceIsNotZero