Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: CVS

SVN: PluginRegistry/trunk/ Add support for GenericSetup import.

 

 

Zope cvs RSS feed   Index | Next | Previous | View Threaded


tseaver at palladion

Feb 17, 2006, 2:12 PM

Post #1 of 1 (733 views)
Permalink
SVN: PluginRegistry/trunk/ Add support for GenericSetup import.

Log message for revision 41652:
Add support for GenericSetup import.

Changed:
U PluginRegistry/trunk/PluginRegistry.py
U PluginRegistry/trunk/configure.zcml

-=-
Modified: PluginRegistry/trunk/PluginRegistry.py
===================================================================
--- PluginRegistry/trunk/PluginRegistry.py 2006-02-17 22:10:23 UTC (rev 41651)
+++ PluginRegistry/trunk/PluginRegistry.py 2006-02-17 22:12:31 UTC (rev 41652)
@@ -423,3 +423,8 @@
return found[ 0 ]

InitializeClass( PluginRegistry )
+
+def emptyPluginRegistry( ignored ):
+ """ Return empty registry, for filling from setup profile.
+ """
+ return PluginRegistry(())

Modified: PluginRegistry/trunk/configure.zcml
===================================================================
--- PluginRegistry/trunk/configure.zcml 2006-02-17 22:10:23 UTC (rev 41651)
+++ PluginRegistry/trunk/configure.zcml 2006-02-17 22:12:31 UTC (rev 41652)
@@ -8,5 +8,11 @@
for=".interfaces.IPluginRegistry"
/>

+ <adapter
+ factory=".exportimport.PluginRegistryFileExportImportAdapter"
+ provides="Products.GenericSetup.interfaces.IFilesystemImporter"
+ for=".interfaces.IPluginRegistry"
+ />
+
</configure>


_______________________________________________
Zope-CVS maillist - Zope-CVS [at] zope
http://mail.zope.org/mailman/listinfo/zope-cvs

Zope CVS instructions: http://dev.zope.org/CVS

Zope cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.