Use KeyError.
diff --git a/Lib/dircache.py b/Lib/dircache.py
index 1eebbbc..9cdbc70 100644
--- a/Lib/dircache.py
+++ b/Lib/dircache.py
@@ -13,7 +13,7 @@
 	try:
 		cached_mtime, list = cache[path]
 		del cache[path]
-	except RuntimeError:
+	except KeyError:
 		cached_mtime, list = -1, []
 	try:
 		mtime = posix.stat(path)[8]