summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/hotshot/log.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/hotshot/log.py b/Lib/hotshot/log.py
index 5c01996..7d6d91d 100644
--- a/Lib/hotshot/log.py
+++ b/Lib/hotshot/log.py
@@ -95,6 +95,7 @@ class LogReader:
def next(self, index=0):
while 1:
+ # This call may raise StopIteration:
what, tdelta, fileno, lineno = self._nextitem()
# handle the most common cases first