summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-06-04 23:34:58 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2012-06-05 20:33:07 +0100
commit029fec32c2514bceabc12bbe7b5e6e62858e02b5 (patch)
tree15dd5c4e2d767de82b9940279fabbb745753ca3f /alot
parentb291aab4e1ec3097204f82259de61c54912e5f02 (diff)
doc: minor docstring corrections for db
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