cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: rmccabe@sourceware.org <rmccabe@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/luci load_site.py plone-custom/favicon.ico
Date: 15 Sep 2006 21:25:37 -0000	[thread overview]
Message-ID: <20060915212537.28742.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe at sourceware.org	2006-09-15 21:25:37

Modified files:
	luci           : load_site.py 
Added files:
	luci/plone-custom: favicon.ico 

Log message:
	get rid of the default plone address line brower icon

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/load_site.py.diff?cvsroot=cluster&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/favicon.ico.diff?cvsroot=cluster&r1=NONE&r2=1.1

--- conga/luci/load_site.py	2006/08/11 16:31:36	1.10
+++ conga/luci/load_site.py	2006/09/15 21:25:37	1.11
@@ -1,5 +1,5 @@
 #!/usr/bin/python
-# $Id: load_site.py,v 1.10 2006/08/11 16:31:36 rmccabe Exp $
+# $Id: load_site.py,v 1.11 2006/09/15 21:25:37 rmccabe Exp $
 
 ##############################################################################
 #
@@ -332,6 +332,14 @@
 	f=open(f)
 
 	try:
+		db_id = name.split('.')
+		db_id_len = len(db_id)
+		if db_id_len > 2 and db_id[db_id_len - 2] != 'dtml':
+			db_id = str.join(db_id[:-1])
+	except:
+		db_id = name
+
+	try:
 		call(object.manage_addDTMLMethod, id=name, file=f)
 		if verbose: print 'Uploaded', name
 	except:
@@ -364,5 +372,6 @@
 
 upload_jpg=upload_gif
 upload_png=upload_gif
+upload_ico=upload_gif
 
 if __name__=='__main__': main()
/cvs/cluster/conga/luci/plone-custom/favicon.ico,v  -->  standard output
revision 1.1
Binary files /cvs/cluster/conga/luci/plone-custom/favicon.ico and - differ



                 reply	other threads:[~2006-09-15 21:25 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=20060915212537.28742.qmail@sourceware.org \
    --to=rmccabe@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).