systemd-python: split .seek() into .seek_head() and .seek_tail()

This way python code follows the original interface more closely.
Also, .seek(0, journal.SEEK_END) was just to much to type.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2013-03-07 00:45:56 -05:00
parent aaf0806118
commit 5c1c14b3a0
3 changed files with 27 additions and 58 deletions
-5
View File
@@ -27,12 +27,7 @@ Accessing the Journal
.. autoattribute:: systemd.journal.DEFAULT_CONVERTERS
Whence constants
~~~~~~~~~~~~~~~~
.. autoattribute:: systemd.journal.SEEK_SET
.. autoattribute:: systemd.journal.SEEK_CUR
.. autoattribute:: systemd.journal.SEEK_END
Journal access types
~~~~~~~~~~~~~~~~~~~~