app/soc/logic/allocations.py
changeset 2137 3d5692ae414c
parent 2130 83f4fab7c556
child 2139 43a02512ebf7
--- a/app/soc/logic/allocations.py	Wed Apr 08 23:45:41 2009 +0000
+++ b/app/soc/logic/allocations.py	Thu Apr 09 22:04:47 2009 +0000
@@ -88,7 +88,7 @@
     self.buildSets()
 
     if not sum(self.popularity.values()) or not sum(self.max.values()):
-      return self.popularity
+      return dict([(i, 0) for i in self.orgs])
 
     if self.iterative:
       return self.iterativeAllocation()