[zopeorg-checkins] CVS: Products/ZopeOrg-NV/Extensions - setupZopeOrg.py:1.44 synchronizeSkeleton.py:1.25

Chris McDonough chrism at zope.com
Mon Apr 29 17:58:36 EDT 2002


Update of /cvs-zopeorg/Products/ZopeOrg-NV/Extensions
In directory cvs.zope.org:/tmp/cvs-serv18265

Modified Files:
	setupZopeOrg.py synchronizeSkeleton.py 
Log Message:
Make installation scripts actually work.


=== Products/ZopeOrg-NV/Extensions/setupZopeOrg.py 1.43 => 1.44 ===
     # Check dependencies on needed Zope Products
     log.append('\n * Checking Software dependencies')
-    if checkDependencies():
+    if not checkDependencies():
         return string.join(log, '\n')
 
     # Instantiating rewriter object in root
@@ -239,7 +239,7 @@
             log.append( '   - removed type "%s"' % type )
 
     folder_type._updateProperty( id='filter_content_types'
-                                , value=1
+                                , value=0
                                 )
     folder_type._updateProperty( id='allowed_content_types'
                                , value=all_types


=== Products/ZopeOrg-NV/Extensions/synchronizeSkeleton.py 1.24 => 1.25 ===
                     folder_obj = getattr( aq_base( cur_obj ), elem_id )
                     prop_dict = _getProps( fs_file )
+                    print fs_file
+                    print folder_obj
                     folder_obj.edit( title=prop_dict.get( 'title', '' )
                                    , description=prop_dict.get( 'description', '' )
                                    )






More information about the zopeorg-checkins mailing list