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
1 changed files with 2 additions and 0 deletions

View File

@ -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)