Skip to content

Commit

Permalink
Changed abstractmethods to contain pass
Browse files Browse the repository at this point in the history
  • Loading branch information
Prasoon Shukla committed Jul 28, 2015
1 parent c18158b commit 33e2530
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion master/buildbot/statistics/capture.py
Expand Up @@ -44,7 +44,7 @@ def _defaultContext(self, msg):

@abc.abstractmethod
def consume(self, routingKey, msg):
raise NotImplementedError
pass

@defer.inlineCallbacks
def _store(self, post_data, series_name, context):
Expand Down
4 changes: 1 addition & 3 deletions master/buildbot/statistics/storage_backends/base.py
Expand Up @@ -15,8 +15,6 @@

import abc

from twisted.internet import defer


class StatsStorageBase(object):

Expand All @@ -29,4 +27,4 @@ class StatsStorageBase(object):

@abc.abstractmethod
def thd_postStatsValue(self, post_data, series_name, context=None):
return defer.succeed(None)
pass

0 comments on commit 33e2530

Please sign in to comment.