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?
# It will probably reduce developer headaches in the wild.
if not issubclass(plugin, (BaseConsensusRules)):
raise TypeError("object of type '{}' does not implement `bigchaindb."
"consensus.BaseConsensusRules`".format(type(plugin)))
if not issubclass(plugin, (BaseConsensusRules,)):
raise TypeError('object of type "{}" does not implement `bigchaindb.'
'consensus.BaseConsensusRules`'.format(type(plugin)))
return plugin