[Checkins] SVN: hurry.resource/branches/janjaapdriessen-resource-publisher/src/hurry/resource/zca.py Moved to hurry.zoperesource
Jan-Jaap Driessen
jdriessen at thehealthagency.com
Fri Nov 12 11:09:21 EST 2010
Log message for revision 118379:
Moved to hurry.zoperesource
Changed:
D hurry.resource/branches/janjaapdriessen-resource-publisher/src/hurry/resource/zca.py
-=-
Deleted: hurry.resource/branches/janjaapdriessen-resource-publisher/src/hurry/resource/zca.py
===================================================================
--- hurry.resource/branches/janjaapdriessen-resource-publisher/src/hurry/resource/zca.py 2010-11-12 16:08:28 UTC (rev 118378)
+++ hurry.resource/branches/janjaapdriessen-resource-publisher/src/hurry/resource/zca.py 2010-11-12 16:09:21 UTC (rev 118379)
@@ -1,15 +0,0 @@
-from zope import component
-from hurry.resource import interfaces
-
-class Plugin(object):
- """Zope Component Architecture implementation of plugin.
-
- This implementation lets you register a utility that
- implements (in its __call___) get_current_needed_inclusions
- and an adapter that implements get_library_url().
- """
- def get_current_needed_inclusions(self):
- return component.getUtility(interfaces.ICurrentNeededInclusions)()
-
- def get_library_url(self, library):
- return interfaces.ILibraryUrl(library)
More information about the checkins
mailing list