core pylint fixes
This commit is contained in:
parent
88f2c51595
commit
8ed1d48799
|
@ -25,6 +25,7 @@ program = None
|
||||||
|
|
||||||
|
|
||||||
def pickle_knownnodes():
|
def pickle_knownnodes():
|
||||||
|
"""Generate old style pickled knownnodes.dat"""
|
||||||
now = time.time()
|
now = time.time()
|
||||||
with open(knownnodes_file, 'wb') as dst:
|
with open(knownnodes_file, 'wb') as dst:
|
||||||
pickle.dump({
|
pickle.dump({
|
||||||
|
@ -40,6 +41,7 @@ def pickle_knownnodes():
|
||||||
|
|
||||||
|
|
||||||
def cleanup():
|
def cleanup():
|
||||||
|
"""Cleanup application files"""
|
||||||
os.remove(knownnodes_file)
|
os.remove(knownnodes_file)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user