core pylint fixes

This commit is contained in:
lakshyacis 2019-09-26 16:54:59 +05:30
parent 88f2c51595
commit 8ed1d48799
No known key found for this signature in database
GPG Key ID: D2C539C8EC63E9EB

View File

@ -25,6 +25,7 @@ program = None
def pickle_knownnodes():
"""Generate old style pickled knownnodes.dat"""
now = time.time()
with open(knownnodes_file, 'wb') as dst:
pickle.dump({
@ -40,6 +41,7 @@ def pickle_knownnodes():
def cleanup():
"""Cleanup application files"""
os.remove(knownnodes_file)