qmsk/irclogs/log_source.py
changeset 141 65c98c9e1716
parent 140 6db2527b67cf
child 146 22d6b9525ae0
--- a/qmsk/irclogs/log_source.py	Sun Sep 13 01:15:56 2009 +0300
+++ b/qmsk/irclogs/log_source.py	Sun Sep 13 18:47:00 2009 +0300
@@ -89,7 +89,15 @@
             portion of the dt is ignored, and the lines for the given page are returned. Otherwise, if page is None,
             then the lines for the page containing the given timestamp is returned.
 
+                dt          - the date to get logs for. If page is None, this is also the specific timestamp to page to
+                count       - number of lines per page to return
+                page        - specific page to return, or None to pick the right page for the given datetime
+
             The return value is a (page, max, lines) tuple.
+                page        - the selected page
+                max         - total number of pages
+                lines       - the sequence of lines for the selected page
+
         """
         
         # how to act?