diff options
Diffstat (limited to 'Lib/hotshot/log.py')
-rw-r--r-- | Lib/hotshot/log.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/hotshot/log.py b/Lib/hotshot/log.py index 335fff9..9084461 100644 --- a/Lib/hotshot/log.py +++ b/Lib/hotshot/log.py @@ -51,6 +51,9 @@ class LogReader: self._append = self._stack.append self._pop = self._stack.pop + def close(self): + self._reader.close() + def addinfo(self, key, value): """This method is called for each additional ADD_INFO record. |