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:])
|
'ackreceived', int(time.time()), data[readPosition:])
|
||||||
queues.UISignalQueue.put((
|
queues.UISignalQueue.put((
|
||||||
'updateSentItemStatusByAckdata',
|
'updateSentItemStatusByAckdata',
|
||||||
(data[readPosition:],
|
(
|
||||||
tr._translate(
|
data[readPosition:],
|
||||||
"MainWindow",
|
tr._translate(
|
||||||
"Acknowledgement of the message received %1"
|
"MainWindow",
|
||||||
).arg(l10n.formatTimestamp()))
|
"Acknowledgement of the message received %1"
|
||||||
|
).arg(l10n.formatTimestamp())
|
||||||
|
)
|
||||||
))
|
))
|
||||||
else:
|
else:
|
||||||
logger.debug('This object is not an acknowledgement bound for me.')
|
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
|
# pylint: disable=unused-variable
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
Insert values into sent table
|
Insert values into sent table
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from helper_sql import *
|
from helper_sql import sqlExecute
|
||||||
|
|
||||||
|
|
||||||
def insert(t):
|
def insert(t):
|
||||||
"""Perform an insert into the `sent` table"""
|
"""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
|
import Queue
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# pylint: disable=too-many-branches,too-many-statements,protected-access
|
# pylint: disable=too-many-branches,too-many-statements,protected-access
|
||||||
"""
|
"""
|
||||||
src/proofofwork.py
|
Proof of work calculation
|
||||||
==================
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import ctypes
|
import ctypes
|
||||||
|
|
Loading…
Reference in New Issue
Block a user