meta, refactoring

This commit is contained in:
Devaev Maxim
2018-11-16 06:54:27 +03:00
parent 4294eed14e
commit 17c6b9e31f
12 changed files with 97 additions and 57 deletions

View File

@@ -33,7 +33,7 @@ class Log:
self.__services = services
self.__loop = loop
async def log(self, seek: int, follow: bool) -> AsyncGenerator[Dict, None]:
async def poll_log(self, seek: int, follow: bool) -> AsyncGenerator[Dict, None]:
reader = systemd.journal.Reader()
reader.this_boot()
reader.this_machine()