From da2c731c2dda22c6620a8f62dbee284dec04cd1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 7 Oct 2008 10:32:59 +0200 Subject: [PATCH] Remove unused function --- party.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/party.py b/party.py index 6e6718fc5b..8e25caec94 100644 --- a/party.py +++ b/party.py @@ -17,16 +17,6 @@ STATES = { 'readonly': "active == False", } -def mult_add(a, b): - ''' - Sum each digits of the multiplication of a and b. - ''' - mult = a * b - res = 0 - for i in range(len(str(mult))): - res += int(str(mult)[i]) - return res - class PartyType(OSV): "Party Type"