Merge "plugin: don't use @staticmethod with abc"

This commit is contained in:
Jenkins 2013-02-21 10:51:57 +00:00 committed by Gerrit Code Review
commit bf3bb5ffc6

View File

@ -81,9 +81,8 @@ class PollsterBase(PluginBase):
__metaclass__ = abc.ABCMeta
@staticmethod
@abc.abstractmethod
def get_counter_names():
def get_counter_names(self):
"""Return a sequence of Counter names supported by the pollster."""
@abc.abstractmethod