summaryrefslogtreecommitdiff
path: root/src/python-systemd/journal.py
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-07 00:26:24 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-07 00:45:56 -0500
commit5c1c14b3a021fbf91f31018256b0c241ea1fe3f0 (patch)
treec890310ba9a0b8fcfa2ae6576853d9fe4133cdb0 /src/python-systemd/journal.py
parentaaf080611894aa70af421380af3bca23ad998a8d (diff)
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.
Diffstat (limited to 'src/python-systemd/journal.py')
-rw-r--r--src/python-systemd/journal.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/python-systemd/journal.py b/src/python-systemd/journal.py
index 80299e6b98..e9c09e8747 100644
--- a/src/python-systemd/journal.py
+++ b/src/python-systemd/journal.py
@@ -27,7 +27,6 @@ import functools as _functools
import uuid as _uuid
import traceback as _traceback
import os as _os
-from os import SEEK_SET, SEEK_CUR, SEEK_END
import logging as _logging
if _sys.version_info >= (3,):
from collections import ChainMap as _ChainMap