All of lore.kernel.org
 help / color / mirror / Atom feed
From: kupcevic@sourceware.org <kupcevic@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/luci/utils luci_admin luci_cleanup
Date: 4 Aug 2006 18:43:27 -0000	[thread overview]
Message-ID: <20060804184327.14875.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	kupcevic at sourceware.org	2006-08-04 18:43:26

Modified files:
	luci/utils     : luci_admin luci_cleanup 

Log message:
	luci: luci_admin: python search paths update

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/utils/luci_admin.diff?cvsroot=cluster&r1=1.43&r2=1.44
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/utils/luci_cleanup.diff?cvsroot=cluster&r1=1.3&r2=1.4

--- conga/luci/utils/luci_admin	2006/08/04 18:37:57	1.43
+++ conga/luci/utils/luci_admin	2006/08/04 18:43:26	1.44
@@ -12,6 +12,8 @@
 	'/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/lib/python',
 	'/usr/lib/zope/lib/python',
@@ -21,11 +23,12 @@
 ))
 
 from Products import __path__
-for i in [	'/usr/lib/luci/zope/lib/python/Products',
-			'/usr/lib64/luci/zope/lib/python/Products',
-			'/usr/lib64/zope/lib/python/Products',
-			'/usr/lib64/zope/lib64/python/Products',
-			'/usr/lib/zope/lib/python/Products'			]:
+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)
 
@@ -1032,6 +1035,8 @@
 	# If the site hasn't been initialized, there's nothing to
 	# save, and luci_backup() will fail
 	if not luci_initialized():
+		print 'The Luci site has not been initialized\n'
+		print 'Nothing to backup\n'
 		sys.exit(0)
 
 	print 'Backing up the Luci server...'
--- conga/luci/utils/luci_cleanup	2006/08/03 18:41:54	1.3
+++ conga/luci/utils/luci_cleanup	2006/08/04 18:43:26	1.4
@@ -8,6 +8,8 @@
 	'/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/lib/python',
 	'/usr/lib/zope/lib/python',
@@ -17,11 +19,12 @@
 ))
 
 from Products import __path__
-for i in [	'/usr/lib/luci/zope/lib/python/Products',
-			'/usr/lib64/luci/zope/lib/python/Products',
-			'/usr/lib64/zope/lib/python/Products',
-			'/usr/lib64/zope/lib64/python/Products',
-			'/usr/lib/zope/lib/python/Products'			]:
+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)
 



                 reply	other threads:[~2006-08-04 18:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060804184327.14875.qmail@sourceware.org \
    --to=kupcevic@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.