style fix

This commit is contained in:
Scott Sadler 2017-02-22 14:09:12 +01:00
parent 0f5844d4ae
commit 0d9881fc23

View File

@ -276,8 +276,8 @@ def load_consensus_plugin(name=None):
# Is this strictness desireable? # Is this strictness desireable?
# It will probably reduce developer headaches in the wild. # It will probably reduce developer headaches in the wild.
if not issubclass(plugin, (BaseConsensusRules)): if not issubclass(plugin, (BaseConsensusRules,)):
raise TypeError("object of type '{}' does not implement `bigchaindb." raise TypeError('object of type "{}" does not implement `bigchaindb.'
"consensus.BaseConsensusRules`".format(type(plugin))) 'consensus.BaseConsensusRules`'.format(type(plugin)))
return plugin return plugin