#! /usr/local/bin/python2.7
# $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)))
