~justin-fathomdb/nova/justinsb-openstack-api-volumes

« back to all changes in this revision

Viewing changes to vendor/Twisted-10.0.0/doc/lore/howto/listings/lore/a_lore_plugin.py

  • Committer: Jesse Andrews
  • Date: 2010-05-28 06:05:26 UTC
  • Revision ID: git-v1:bf6e6e718cdc7488e2da87b21e258ccc065fe499
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
from zope.interface import implements
 
3
 
 
4
from twisted.plugin import IPlugin
 
5
from twisted.lore.scripts.lore import IProcessor
 
6
 
 
7
class MyHTML(object):
 
8
    implements(IPlugin, IProcessor)
 
9
 
 
10
    name = "myhtml"
 
11
    moduleName = "myhtml.factory"