summaryrefslogtreecommitdiffstats
path: root/Lib/hotshot/log.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2006-08-19 16:17:20 (GMT)
committerGuido van Rossum <guido@python.org>2006-08-19 16:17:20 (GMT)
commit6e23e3796d8b1794279c84757e253aba53c9144f (patch)
treee1cd3b1449a75d42b2b64f60769debcf22c31af9 /Lib/hotshot/log.py
parentcef3a1c1464f013c763f1a2447d15502288451ca (diff)
downloadcpython-6e23e3796d8b1794279c84757e253aba53c9144f.zip
cpython-6e23e3796d8b1794279c84757e253aba53c9144f.tar.gz
cpython-6e23e3796d8b1794279c84757e253aba53c9144f.tar.bz2
Only three failing tests left: dbm, gdbm, tcl!
Diffstat (limited to 'Lib/hotshot/log.py')
-rw-r--r--Lib/hotshot/log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/hotshot/log.py b/Lib/hotshot/log.py
index 7d6d91d..df8f637 100644
--- a/Lib/hotshot/log.py
+++ b/Lib/hotshot/log.py
@@ -31,7 +31,7 @@ class LogReader:
self._reader = _hotshot.logreader(logfn)
self._nextitem = self._reader.next
self._info = self._reader.info
- if self._info.has_key('current-directory'):
+ if 'current-directory' in self._info:
self.cwd = self._info['current-directory']
else:
self.cwd = None