formatting and docstring

This commit is contained in:
lakshyacis 2019-12-23 15:19:03 +05:30
parent 21ae6cb9b0
commit 4a369f70c1
No known key found for this signature in database
GPG Key ID: D2C539C8EC63E9EB
5 changed files with 13 additions and 12 deletions

View File

@ -149,11 +149,13 @@ class objectProcessor(threading.Thread):
'ackreceived', int(time.time()), data[readPosition:])
queues.UISignalQueue.put((
'updateSentItemStatusByAckdata',
(data[readPosition:],
tr._translate(
"MainWindow",
"Acknowledgement of the message received %1"
).arg(l10n.formatTimestamp()))
(
data[readPosition:],
tr._translate(
"MainWindow",
"Acknowledgement of the message received %1"
).arg(l10n.formatTimestamp())
)
))
else:
logger.debug('This object is not an acknowledgement bound for me.')

View File

@ -1,6 +1,5 @@
"""
src/class_smtpDeliver.py
========================
SMTP client thread for delivering emails
"""
# pylint: disable=unused-variable

View File

@ -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"""

View File

@ -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

View File

@ -1,7 +1,6 @@
# pylint: disable=too-many-branches,too-many-statements,protected-access
"""
src/proofofwork.py
==================
Proof of work calculation
"""
import ctypes