[open-ils-commits] r8603 -
branches/acq-experiment/Open-ILS/src/python/oils
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Feb 4 11:56:39 EST 2008
Author: erickson
Date: 2008-02-04 11:28:27 -0500 (Mon, 04 Feb 2008)
New Revision: 8603
Modified:
branches/acq-experiment/Open-ILS/src/python/oils/org.py
Log:
verifying existance of org tree before building union tree
Modified: branches/acq-experiment/Open-ILS/src/python/oils/org.py
===================================================================
--- branches/acq-experiment/Open-ILS/src/python/oils/org.py 2008-02-04 16:28:06 UTC (rev 8602)
+++ branches/acq-experiment/Open-ILS/src/python/oils/org.py 2008-02-04 16:28:27 UTC (rev 8603)
@@ -100,6 +100,7 @@
def get_union_tree(org_list):
''' Returns the smallest org tree which encompases all of the orgs in org_list '''
+ OrgUtil._verify_tree()
if len(org_list) == 0:
return None
main_tree = OrgUtil.get_related_tree(OrgUtil.get_org_unit(org_list[0]))
More information about the open-ils-commits
mailing list