git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
24292ca
)
Do not print sensitive data
author
CryptoManiac
<balthazar@yandex.ru>
Wed, 23 Mar 2016 00:41:23 +0000 (
03:41
+0300)
committer
CryptoManiac
<balthazar@yandex.ru>
Wed, 23 Mar 2016 00:41:23 +0000 (
03:41
+0300)
contrib/seeds/getseeds/getseeds.py
patch
|
blob
|
history
diff --git
a/contrib/seeds/getseeds/getseeds.py
b/contrib/seeds/getseeds/getseeds.py
index
7a208e8
..
a0874f0
100755
(executable)
--- a/
contrib/seeds/getseeds/getseeds.py
+++ b/
contrib/seeds/getseeds/getseeds.py
@@
-57,14
+57,12
@@
contents = {}
for line in conf.splitlines(True):
if line.startswith(b'#'):
- line = line[:line.index('#')]
+ line = line[:line.index(b'#')]
if not line.__contains__(b'='):
continue
k, v = line.split(b'=', 1)
contents[k.strip()] = v.strip()
-print(contents)
-
if b'rpcpassword' not in contents.keys():
print('''RPC password is not found in the %s file.''' % (conf_path))
sys.exit()