[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/luci load_site.py



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe sourceware org	2006-08-11 16:31:36

Modified files:
	luci           : load_site.py 

Log message:
	update zope/plone paths

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/load_site.py.diff?cvsroot=cluster&r1=1.9&r2=1.10

--- conga/luci/load_site.py	2006/07/24 20:17:01	1.9
+++ conga/luci/load_site.py	2006/08/11 16:31:36	1.10
@@ -1,5 +1,5 @@
 #!/usr/bin/python
-# $Id: load_site.py,v 1.9 2006/07/24 20:17:01 kupcevic Exp $
+# $Id: load_site.py,v 1.10 2006/08/11 16:31:36 rmccabe Exp $
 
 ##############################################################################
 #
@@ -38,14 +38,26 @@
 	'/usr/lib/luci/zope/lib/python/Products',
 	'/usr/lib64/luci/zope/lib/python',
 	'/usr/lib64/luci/zope/lib/python/Products',
+	'/usr/lib64/luci/zope/lib64/python',
+	'/usr/lib64/luci/zope/lib64/python/Products',
 	'/usr/lib64/zope/lib64/python',
-	'/usr/lib64/zope/lib64/python/Products',
 	'/usr/lib64/zope/lib/python',
-	'/usr/lib64/zope/lib/python/Products',
 	'/usr/lib/zope/lib/python',
+	'/usr/lib64/zope/lib/python/Products',
+	'/usr/lib64/zope/lib64/python/Products',
 	'/usr/lib/zope/lib/python/Products'
 ))
 
+from Products import __path__
+for i in ['/usr/lib/luci/zope/lib/python/Products',
+	'/usr/lib64/luci/zope/lib/python/Products',
+	'/usr/lib64/luci/zope/lib64/python/Products',
+	'/usr/lib64/zope/lib/python/Products',
+	'/usr/lib64/zope/lib64/python/Products',
+	'/usr/lib/zope/lib/python/Products']:
+	if os.path.isdir(i):
+		__path__.append(i)
+
 import ZPublisher.Client
 
 def main():


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]