Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
silkaj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
silkaj
Commits
ecd9484d
Commit
ecd9484d
authored
6 years ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
[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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
silkaj/commands.py
+0
-3
0 additions, 3 deletions
silkaj/commands.py
silkaj/wot.py
+0
-2
0 additions, 2 deletions
silkaj/wot.py
with
0 additions
and
5 deletions
silkaj/commands.py
+
0
−
3
View file @
ecd9484d
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
silkaj/wot.py
+
0
−
2
View file @
ecd9484d
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
():
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment