[open-ils-commits] r944 - constrictor/trunk/contrib/evergreen (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Aug 3 11:50:08 EDT 2010
Author: erickson
Date: 2010-08-03 11:50:05 -0400 (Tue, 03 Aug 2010)
New Revision: 944
Modified:
constrictor/trunk/contrib/evergreen/eg_workflow.py
Log:
exit early when title permit call completely fails
Modified: constrictor/trunk/contrib/evergreen/eg_workflow.py
===================================================================
--- constrictor/trunk/contrib/evergreen/eg_workflow.py 2010-07-31 02:19:46 UTC (rev 943)
+++ constrictor/trunk/contrib/evergreen/eg_workflow.py 2010-08-03 15:50:05 UTC (rev 944)
@@ -80,6 +80,9 @@
evt = eg_tasks.TitleHoldPermitTask().start(
title_id=titleID, patron_id=patronID, pickup_lib=pickupLib)
+ if not evt:
+ return None
+
if Event.parse_event(evt):
raise ILSEventException(
"TitleHoldPermit(%s, %s, %s) failed -> %s" % (
More information about the open-ils-commits
mailing list