Removed unnecessary comment and percent formatting in logger.error
This commit is contained in:
parent
d447db907c
commit
d91c3a6b0c
|
@ -260,7 +260,7 @@ class singleWorker(threading.Thread, StoppableThread):
|
||||||
logger.error(
|
logger.error(
|
||||||
'Error within doPOWForMyV2Pubkey. Could not read'
|
'Error within doPOWForMyV2Pubkey. Could not read'
|
||||||
' the keys from the keys.dat file for a requested'
|
' the keys from the keys.dat file for a requested'
|
||||||
' address. %s\n' % err
|
' address. %s\n', err
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -332,7 +332,7 @@ class singleWorker(threading.Thread, StoppableThread):
|
||||||
logger.error(
|
logger.error(
|
||||||
'Error within sendOutOrStoreMyV3Pubkey. Could not read'
|
'Error within sendOutOrStoreMyV3Pubkey. Could not read'
|
||||||
' the keys from the keys.dat file for a requested'
|
' the keys from the keys.dat file for a requested'
|
||||||
' address. %s\n' % err
|
' address. %s\n', err
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -398,7 +398,7 @@ class singleWorker(threading.Thread, StoppableThread):
|
||||||
logger.error(
|
logger.error(
|
||||||
'Error within sendOutOrStoreMyV4Pubkey. Could not read'
|
'Error within sendOutOrStoreMyV4Pubkey. Could not read'
|
||||||
' the keys from the keys.dat file for a requested'
|
' the keys from the keys.dat file for a requested'
|
||||||
' address. %s\n' % err
|
' address. %s\n', err
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -454,7 +454,7 @@ class singleWorker(threading.Thread, StoppableThread):
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
logger.error(
|
logger.error(
|
||||||
'Error: Couldn\'t add the lastpubkeysendtime'
|
'Error: Couldn\'t add the lastpubkeysendtime'
|
||||||
' to the keys.dat file. Error message: %s' % err
|
' to the keys.dat file. Error message: %s', err
|
||||||
)
|
)
|
||||||
|
|
||||||
def sendBroadcast(self):
|
def sendBroadcast(self):
|
||||||
|
@ -930,10 +930,10 @@ class singleWorker(threading.Thread, StoppableThread):
|
||||||
defaults.networkDefaultPayloadLengthExtraBytes
|
defaults.networkDefaultPayloadLengthExtraBytes
|
||||||
logger.debug(
|
logger.debug(
|
||||||
'Using averageProofOfWorkNonceTrialsPerByte: %s'
|
'Using averageProofOfWorkNonceTrialsPerByte: %s'
|
||||||
' and payloadLengthExtraBytes: %s.' % (
|
' and payloadLengthExtraBytes: %s.',
|
||||||
requiredAverageProofOfWorkNonceTrialsPerByte,
|
requiredAverageProofOfWorkNonceTrialsPerByte,
|
||||||
requiredPayloadLengthExtraBytes
|
requiredPayloadLengthExtraBytes
|
||||||
))
|
)
|
||||||
queues.UISignalQueue.put((
|
queues.UISignalQueue.put((
|
||||||
'updateSentItemStatusByAckdata', (
|
'updateSentItemStatusByAckdata', (
|
||||||
ackdata,
|
ackdata,
|
||||||
|
@ -1013,11 +1013,11 @@ class singleWorker(threading.Thread, StoppableThread):
|
||||||
" the keys.dat file. Could not encrypt"
|
" the keys.dat file. Could not encrypt"
|
||||||
" message. %1"
|
" message. %1"
|
||||||
).arg(l10n.formatTimestamp()))
|
).arg(l10n.formatTimestamp()))
|
||||||
)) # log or show the address maybe?
|
))
|
||||||
logger.error(
|
logger.error(
|
||||||
'Error within sendMsg. Could not read the keys'
|
'Error within sendMsg. Could not read the keys'
|
||||||
' from the keys.dat file for our own address. %s\n'
|
' from the keys.dat file for our own address. %s\n',
|
||||||
% err)
|
err)
|
||||||
continue
|
continue
|
||||||
privEncryptionKeyHex = hexlify(shared.decodeWalletImportFormat(
|
privEncryptionKeyHex = hexlify(shared.decodeWalletImportFormat(
|
||||||
privEncryptionKeyBase58))
|
privEncryptionKeyBase58))
|
||||||
|
|
Reference in New Issue
Block a user