From cd5d665905a0651409d4601d6b1b99877087b61f Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Thu, 7 Feb 2019 17:19:11 +0100 Subject: [PATCH] Use pprint to show the submitted dictionary so each element stands on its own line. --- raiden_contracts/deploy/etherscan_verify.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/raiden_contracts/deploy/etherscan_verify.py b/raiden_contracts/deploy/etherscan_verify.py index 31a6a14e5..62b949ca0 100644 --- a/raiden_contracts/deploy/etherscan_verify.py +++ b/raiden_contracts/deploy/etherscan_verify.py @@ -1,5 +1,6 @@ import json import click +import pprint import requests import subprocess from time import sleep @@ -157,7 +158,7 @@ def post_data_for_etherscan_verification( # Typo is intentional. Etherscan does not like the correct spelling. 'constructorArguements': constructor_args, } - print({k: v for k, v in data.items() if k is not 'sourceCode'}) + pprint.pprint({k: v for k, v in data.items() if k is not 'sourceCode'}) return data