scripts/stats.py
changeset 2151 f58515b0b2e1
parent 2148 0345046ed7a5
child 2218 84b0ce492cf5
--- a/scripts/stats.py	Sat Apr 11 12:27:41 2009 +0000
+++ b/scripts/stats.py	Sat Apr 11 13:19:23 2009 +0000
@@ -233,11 +233,11 @@
   from soc.models.mentor import Mentor
   from soc.models.org_admin import OrgAdmin
 
-  def slot_saver(org, value):
+  def slotSaver(org, value):
     org.slots = value
-  def pop_saver(org, value):
+  def popSaver(org, value):
     org.nr_applications = value
-  def raw_saver(org, value):
+  def rawSaver(org, value):
     org.slots_calculated = value
 
   context = {
@@ -259,9 +259,9 @@
       'Student': Student,
       'Mentor': Mentor,
       'OrgAdmin': OrgAdmin,
-      'slot_saver': slot_saver,
-      'pop_saver': pop_saver,
-      'raw_saver': raw_saver,
+      'slotSaver': slotSaver,
+      'popSaver': popSaver,
+      'rawSaver': rawSaver,
   }
 
   interactive.remote(args, context)
@@ -272,4 +272,3 @@
     sys.exit(1)
 
   main(sys.argv[1:])
-