[open-ils-commits] r8602 - trunk/Open-ILS/src/python/oils

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Feb 4 11:56:18 EST 2008


Author: erickson
Date: 2008-02-04 11:28:06 -0500 (Mon, 04 Feb 2008)
New Revision: 8602

Modified:
   trunk/Open-ILS/src/python/oils/org.py
Log:
verifying existance of org tree before building union tree

Modified: trunk/Open-ILS/src/python/oils/org.py
===================================================================
--- trunk/Open-ILS/src/python/oils/org.py	2008-02-04 16:24:01 UTC (rev 8601)
+++ trunk/Open-ILS/src/python/oils/org.py	2008-02-04 16:28:06 UTC (rev 8602)
@@ -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