formatting and docstring
This commit is contained in:
parent
21ae6cb9b0
commit
4a369f70c1
|
@ -149,11 +149,13 @@ class objectProcessor(threading.Thread):
|
|||
'ackreceived', int(time.time()), data[readPosition:])
|
||||
queues.UISignalQueue.put((
|
||||
'updateSentItemStatusByAckdata',
|
||||
(data[readPosition:],
|
||||
(
|
||||
data[readPosition:],
|
||||
tr._translate(
|
||||
"MainWindow",
|
||||
"Acknowledgement of the message received %1"
|
||||
).arg(l10n.formatTimestamp()))
|
||||
).arg(l10n.formatTimestamp())
|
||||
)
|
||||
))
|
||||
else:
|
||||
logger.debug('This object is not an acknowledgement bound for me.')
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
"""
|
||||
src/class_smtpDeliver.py
|
||||
========================
|
||||
SMTP client thread for delivering emails
|
||||
"""
|
||||
# pylint: disable=unused-variable
|
||||
|
||||
|
|
|
@ -2,7 +2,8 @@
|
|||
Insert values into sent table
|
||||
"""
|
||||
|
||||
from helper_sql import *
|
||||
from helper_sql import sqlExecute
|
||||
|
||||
|
||||
def insert(t):
|
||||
"""Perform an insert into the `sent` table"""
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
"""
|
||||
src/multiqueue.py
|
||||
=================
|
||||
A queue with multiple internal subqueues.
|
||||
Elements are added into a random subqueue, and retrieval rotates
|
||||
"""
|
||||
|
||||
import Queue
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# pylint: disable=too-many-branches,too-many-statements,protected-access
|
||||
"""
|
||||
src/proofofwork.py
|
||||
==================
|
||||
Proof of work calculation
|
||||
"""
|
||||
|
||||
import ctypes
|
||||
|
|
Loading…
Reference in New Issue
Block a user