mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
style fix
This commit is contained in:
parent
0f5844d4ae
commit
0d9881fc23
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user