]> asedeno.scripts.mit.edu Git - bluechips.git/commitdiff
whoops, that update_split() call was unnecessary and just causing problems
authorScott Torborg <scott@crookedmedia.com>
Fri, 6 Nov 2009 03:41:21 +0000 (17:41 -1000)
committerScott Torborg <scott@crookedmedia.com>
Fri, 6 Nov 2009 03:41:21 +0000 (17:41 -1000)
bluechips/controllers/spend.py

index 0bd830cc745c182174b9290160398e4a55c4cb70..2b4be30aa5ea276ace26de0852945a0ecbfb9c11 100644 (file)
@@ -102,8 +102,6 @@ class SpendController(BaseController):
         # Set the fields that were submitted
         shares = self.form_result.pop('shares')
         update_sar(e, self.form_result)
-        if e.id is not None:
-            e.update_split()
 
         users = dict(meta.Session.query(model.User.id, model.User).all())
         split_dict = {}