Author: justi9
Date: 2010-01-29 17:04:51 -0500 (Fri, 29 Jan 2010)
New Revision: 3833
Modified:
mgmt/trunk/cumin/python/cumin/model.py
Log:
Some asserts to help track down an occasional nonetype error
Modified: mgmt/trunk/cumin/python/cumin/model.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/model.py 2010-01-29 21:31:46 UTC (rev 3832)
+++ mgmt/trunk/cumin/python/cumin/model.py 2010-01-29 22:04:51 UTC (rev 3833)
@@ -129,6 +129,8 @@
return agent.agent.getBroker().getAmqpSession()
def get_negotiator_limits(self, negotiator):
+ assert negotiator
+
self.lock.acquire()
try:
@@ -147,6 +149,8 @@
self.lock.release()
def get_submission_jobs(self, submission):
+ assert submission
+
self.lock.acquire()
try:
Show replies by date