2008-05-06 12:14:33 -04:00
|
|
|
#! ${MODPY_BIN}
|
|
|
|
# $OpenBSD: twisted-regen-dropin.cache,v 1.3 2008/05/06 16:14:33 espie Exp $
|
2006-07-29 11:12:17 -04:00
|
|
|
|
2008-05-03 08:35:27 -04:00
|
|
|
import sys
|
|
|
|
|
|
|
|
from twisted.plugin import IPlugin, getPlugins
|
|
|
|
from twisted.python.reflect import namedModule
|
|
|
|
|
|
|
|
names = sys.argv[1:] or [ 'twisted.plugins' ]
|
|
|
|
|
|
|
|
for name in names:
|
|
|
|
list(getPlugins(IPlugin, namedModule(name)))
|