Better checking for what a command is so we don't generate documentation

for Regexp/RegexpCommands
This commit is contained in:
James Vega 2004-11-18 02:50:52 +00:00
parent 8b0d0a9aca
commit a82bdaaa4d
1 changed files with 2 additions and 2 deletions

View File

@ -210,8 +210,8 @@ def makePluginDocumentation(pluginWindow):
deprecated,
genNavbar('../../'),
pluginName)))
attrs = [x for x in dir(plugin) if plugin.isCommand(x) and not
x.startswith('_')]
attrs = [x for x in dir(plugin) if plugin.isCommand(x) and
callbacks.canonicalName(x) == x]
id.write('(%s)<br />\n' % ', '.join(attrs))
for attr in attrs:
if attr in commandDict: