]> git.ipfire.org Git - thirdparty/bind9.git/commit
Abstract WatchLog line buffering to a separate function
authorNicki Křížek <nicki@isc.org>
Mon, 16 Jun 2025 13:35:43 +0000 (15:35 +0200)
committerNicki Křížek <nicki@isc.org>
Fri, 18 Jul 2025 09:32:41 +0000 (11:32 +0200)
commit67896ddde2cc9058fc965eb50b263ca7909d24d7
tree50fa4634d998dbf98e1350b3fd3dd3af00f157c2
parent9778068253e9147f7b33d47c7f0ef221cee6b9f9
Abstract WatchLog line buffering to a separate function

Move the line buffering functionality into _readline() to improve the
readability of code. This also allows reading the file contents from
other functions, since the line buffer is now an attribute of the class.
bin/tests/system/isctest/log/watchlog.py