[CMF-checkins] CVS: CMF/CMFDecor/Extensions - Install.py:1.4
Andrew Sawyers
andrew@zope.com
Wed, 14 Nov 2001 11:26:44 -0500
Update of /cvs-repository/CMF/CMFDecor/Extensions
In directory cvs.zope.org:/tmp/cvs-serv664
Modified Files:
Install.py
Log Message:
*added try/except around adding directory views. If they exist,
just let the script continue to run....this is problematic if for
some reason you need to rerun the install script.
=== CMF/CMFDecor/Extensions/Install.py 1.3 => 1.4 ===
skinstool._delObject( dir_view )
- addDirectoryViews( skinstool, 'skins', cmfdecor_globals )
+ try:
+ addDirectoryViews( skinstool, 'skins', cmfdecor_globals )
+ except:
+ pass
out.write( "Added CMFDecor directory views to portal_skins\n" )
#