diff options
| author | Barry Warsaw | 2014-11-29 18:37:57 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2014-11-29 18:37:57 -0500 |
| commit | b0b022e310b15080ea8c580d612a250e052b7990 (patch) | |
| tree | 775169a4498f12cbc995401b38efb4f1e8046bf0 /src/mailman/testing/helpers.py | |
| parent | 11af7021249c5827c4c2d72a90fb4dd2321395c0 (diff) | |
| parent | 3a94916c286c2be8677c601810c3437262b0fa6f (diff) | |
| download | mailman-b0b022e310b15080ea8c580d612a250e052b7990.tar.gz mailman-b0b022e310b15080ea8c580d612a250e052b7990.tar.zst mailman-b0b022e310b15080ea8c580d612a250e052b7990.zip | |
Diffstat (limited to 'src/mailman/testing/helpers.py')
| -rw-r--r-- | src/mailman/testing/helpers.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mailman/testing/helpers.py b/src/mailman/testing/helpers.py index aab23ab75..b0fe14a0d 100644 --- a/src/mailman/testing/helpers.py +++ b/src/mailman/testing/helpers.py @@ -524,3 +524,8 @@ class LogFileMark: with open(self._filename) as fp: fp.seek(self._filepos) return fp.readline() + + def read(self): + with open(self._filename) as fp: + fp.seek(self._filepos) + return fp.read() |
