summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
Diffstat (limited to 'alot')
-rw-r--r--alot/db/__init__.py2
-rw-r--r--alot/db/message.py8
2 files changed, 7 insertions, 3 deletions
diff --git a/alot/db/__init__.py b/alot/db/__init__.py
index 86f56b5d..95d2b245 100644
--- a/alot/db/__init__.py
+++ b/alot/db/__init__.py
@@ -191,6 +191,7 @@ class DBManager(object):
:exception: :exc:`~errors.DatabaseROError`
.. note::
+ This only adds the requested operation to the write queue.
You need to call :meth:`DBManager.flush` to actually write out.
"""
if self.ro:
@@ -216,6 +217,7 @@ class DBManager(object):
:exception: :exc:`~errors.DatabaseROError`
.. note::
+ This only adds the requested operation to the write queue.
You need to call :meth:`DBManager.flush` to actually write out.
"""
if self.ro:
diff --git a/alot/db/message.py b/alot/db/message.py
index b96e0239..ecd94277 100644
--- a/alot/db/message.py
+++ b/alot/db/message.py
@@ -120,10 +120,12 @@ class Message(object):
def get_datestring(self):
"""
- returns reformated datestring for this messages.
+ returns reformated datestring for this message.
- It uses the format spacified by `timestamp_format` in
- the general section of the config.
+ It uses :meth:`SettingsManager.represent_datetime` to represent
+ this messages `Date` header
+
+ :rtype: str
"""
if self._datetime == None:
res = None