From 3ec79a54e77cfd85bdff86a28c8f46e630fcd9b6 Mon Sep 17 00:00:00 2001 From: Rodolphe Marques Date: Mon, 21 Nov 2016 14:10:20 +0100 Subject: [PATCH] fixed typo --- bigchaindb/core.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bigchaindb/core.py b/bigchaindb/core.py index 81ddb2f9..9c759599 100644 --- a/bigchaindb/core.py +++ b/bigchaindb/core.py @@ -426,9 +426,10 @@ class Bigchain(object): if self.get_transaction(transaction['id']): num_valid_transactions += 1 if num_valid_transactions > 1: - raise exceptions.DoubleSpend( - '`{}` was spent more then once. There is a problem with the chain'.format( - txid)) + raise exceptions.DoubleSpend(('`{}` was spent more than' + ' once. There is a problem' + ' with the chain') + .format(txid)) if num_valid_transactions: return Transaction.from_dict(transactions[0])