cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] conga/luci load_site.py plone-custom/favicon.ico
@ 2006-09-15 21:25 rmccabe
  0 siblings, 0 replies; only message in thread
From: rmccabe @ 2006-09-15 21:25 UTC (permalink / raw)
  To: cluster-devel.redhat.com

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-15 21:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-15 21:25 [Cluster-devel] conga/luci load_site.py plone-custom/favicon.ico rmccabe

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).