formatting and docstring

v0.6
lakshyacis 3 years ago
parent 21ae6cb9b0
commit 4a369f70c1
No known key found for this signature in database
GPG Key ID: D2C539C8EC63E9EB
  1. 12
      src/class_objectProcessor.py
  2. 3
      src/class_smtpDeliver.py
  3. 3
      src/helper_sent.py
  4. 4
      src/multiqueue.py
  5. 3
      src/proofofwork.py

@ -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.')

@ -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…
Cancel
Save