diff --git a/mercurial/windows.py b/mercurial/windows.py
index d4ccc455c953c2994ef359e643b6c2a6cd563dcb_bWVyY3VyaWFsL3dpbmRvd3MucHk=..0a48380b61fb51f64650407eb2cef378deec7ffb_bWVyY3VyaWFsL3dpbmRvd3MucHk= 100644
--- a/mercurial/windows.py
+++ b/mercurial/windows.py
@@ -261,7 +261,5 @@
                              for n, k, s in osutil.listdir(dir, True)
                              if getkind(s.st_mode) in _wantedkinds])
             except OSError, err:
-                # handle directory not found in Python version prior to 2.5
-                # Python <= 2.4 returns native Windows code 3 in errno
                 # Python >= 2.5 returns ENOENT and adds winerror field
                 # EINVAL is raised if dir is not a directory.
@@ -266,6 +264,6 @@
                 # Python >= 2.5 returns ENOENT and adds winerror field
                 # EINVAL is raised if dir is not a directory.
-                if err.errno not in (3, errno.ENOENT, errno.EINVAL,
+                if err.errno not in (errno.ENOENT, errno.EINVAL,
                                      errno.ENOTDIR):
                     raise
                 dmap = {}