Switch an stderr message to logger.

This commit is contained in:
Gregor Robinson 2013-07-10 20:29:07 +01:00
parent 718de832ab
commit e8fa5aaefe

View File

@ -236,7 +236,7 @@ def reloadMyAddressHashes():
myAddressesByHash[hash] = addressInKeysFile
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')
if not keyfileSecure: