No need to define RSS.listCommands

Doing so can lead to RSS feeds being listed multiple times.

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
This commit is contained in:
James Vega 2009-02-27 23:36:29 -05:00
parent c17a27f6d0
commit 0e05fe67c7

View File

@ -1,6 +1,6 @@
###
# Copyright (c) 2002-2004, Jeremiah Fincher
# Copyright (c) 2008, James Vega
# Copyright (c) 2008-2009, James Vega
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@ -90,12 +90,6 @@ class RSS(callbacks.Plugin):
else:
return True
def listCommands(self):
commands = self.__parent.listCommands()
commands.extend(self.feedNames.keys())
commands.sort()
return commands
def getCommandMethod(self, command):
try:
return self.__parent.getCommandMethod(command)