Skip to content
Snippets Groups Projects
Commit ecd9484d authored by Moul's avatar Moul
Browse files

[mod] #155: remove `clear` calls which are not availabre on non-Unix

parent 069f4528
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,6 @@ def currency_info():
]
head_block = HeadBlock().head_block
ep = EndPoint().ep
system("clear")
print(
"Connected to node:",
ep[best_node(ep, False)],
......@@ -210,7 +209,6 @@ def network_info(discover):
else:
endpoints[i]["ip6"] = endpoints[i]["ip6"][:8] + ""
i += 1
system("clear")
print(
len(endpoints),
"peers ups, with",
......@@ -254,7 +252,6 @@ def list_issuers(nbr, last):
):
issuer2["uid"] = uid
issuer2.pop("pubkey")
system("clear")
print(
"Issuers for last {0} blocks from block n°{1} to block n°{2}".format(
nbr, current_nbr - nbr + 1, current_nbr
......
from os import system
from time import time
from tabulate import tabulate
from collections import OrderedDict
......@@ -33,7 +32,6 @@ def received_sent_certifications(id):
time_first_block = get_request("blockchain/block/1")["time"]
id_certs = get_informations_for_identity(id)
certifications = OrderedDict()
system("clear")
params = BlockchainParams().params
for certs in id_certs["uids"]:
if certs["uid"].lower() == id.lower():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment