13 lines
313 B
Plaintext
13 lines
313 B
Plaintext
#! ${MODPY_BIN}
|
|
# $OpenBSD: twisted-regen-dropin.cache,v 1.3 2008/05/06 16:14:33 espie Exp $
|
|
|
|
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)))
|