FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 03-25-2011, 07:14 PM
 
Default conga/luci/utils luci_admin

CVSROOT: /cvs/cluster
Module name: conga
Branch: RHEL5
Changes by: rmccabe@sourceware.org 2011-03-25 20:14:42

Modified files:
luci/utils : luci_admin

Log message:
Fix bz643996 - luci_admin doesn't operate correctly if external zope3 packages are installed

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/utils/luci_admin.diff?cvsroot=cluster&only_with_tag=RHEL 5&r1=1.50.2.8&r2=1.50.2.9

--- conga/luci/utils/luci_admin 2010/01/07 18:08:36 1.50.2.8
+++ conga/luci/utils/luci_admin 2011/03/25 20:14:39 1.50.2.9
@@ -15,7 +15,7 @@
import xml
import xml.dom

-sys.path.extend((
+for i in (
'/usr/lib/luci/zope/lib/python',
'/usr/lib/luci/zope/lib/python/Products',
'/usr/lib64/luci/zope/lib/python',
@@ -28,7 +28,8 @@
'/usr/lib64/zope/lib/python/Products',
'/usr/lib64/zope/lib64/python/Products',
'/usr/lib/zope/lib/python/Products'
-))
+):
+ sys.path.insert(0, i)

from Products import __path__
for pdir in [
@@ -40,7 +41,7 @@
'/usr/lib/zope/lib/python/Products']:

if os.path.isdir(pdir):
- __path__.append(pdir)
+ __path__.insert(0, pdir)

LUCI_ADMIN_DEBUG = False
 

Thread Tools




All times are GMT. The time now is 08:18 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org