[Checkins] SVN: hurry.zoperesource/branches/janjaapdriessen-wsgi/src/hurry/zoperesource/zcml.py Moved the zca plugin from hurry.resource to hurry.zoperesource.

Jan-Jaap Driessen jdriessen at thehealthagency.com
Fri Nov 12 10:40:13 EST 2010


Log message for revision 118371:
  Moved the zca plugin from hurry.resource to hurry.zoperesource. 

Changed:
  U   hurry.zoperesource/branches/janjaapdriessen-wsgi/src/hurry/zoperesource/zcml.py

-=-
Modified: hurry.zoperesource/branches/janjaapdriessen-wsgi/src/hurry/zoperesource/zcml.py
===================================================================
--- hurry.zoperesource/branches/janjaapdriessen-wsgi/src/hurry/zoperesource/zcml.py	2010-11-12 15:39:07 UTC (rev 118370)
+++ hurry.zoperesource/branches/janjaapdriessen-wsgi/src/hurry/zoperesource/zcml.py	2010-11-12 15:40:13 UTC (rev 118371)
@@ -1,10 +1,10 @@
 from zope.interface import Interface
-from hurry import resource
-from hurry.resource import zca
 from zope import component
 from zope.publisher.interfaces.browser import IBrowserRequest
 from zope.browserresource.directory import DirectoryResourceFactory
 from zope.security.checker import NamesChecker
+from hurry import resource
+from hurry.zoperesource.zopesupport import Plugin
 
 class ISetupHurryZopeResource(Interface):
     pass
@@ -17,7 +17,7 @@
 def action_setup(_context):
     """Publish all hurry.resource library entry points as resources.
     """
-    resource.register_plugin(zca.Plugin())
+    resource.register_plugin(Plugin())
 
     for library in resource.libraries():
         checker = NamesChecker(allowed_resourcedir_names)



More information about the checkins mailing list