Switch an stderr message to logger.
This commit is contained in:
parent
718de832ab
commit
e8fa5aaefe
|
@ -236,7 +236,7 @@ def reloadMyAddressHashes():
|
||||||
myAddressesByHash[hash] = addressInKeysFile
|
myAddressesByHash[hash] = addressInKeysFile
|
||||||
|
|
||||||
else:
|
else:
|
||||||
sys.stderr.write('Error in reloadMyAddressHashes: Can\'t handle address '
|
logger.error('Error in reloadMyAddressHashes: Can\'t handle address '
|
||||||
'versions other than 2 or 3.\n')
|
'versions other than 2 or 3.\n')
|
||||||
|
|
||||||
if not keyfileSecure:
|
if not keyfileSecure:
|
||||||
|
|
Reference in New Issue
Block a user