summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-08-24 20:08:07 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-08-24 20:58:54 +0300
commitbe80c6813c4ae056e667a6065816f73471446b86 (patch)
tree974fac701f97ca2a6c7a219d1d2be53bba5911d1 /src
parentremove cython _posix.pyx (diff)
downloadsnakeoil-be80c6813c4ae056e667a6065816f73471446b86.tar.gz
snakeoil-be80c6813c4ae056e667a6065816f73471446b86.tar.bz2
snakeoil-be80c6813c4ae056e667a6065816f73471446b86.zip
remove mentions of _readdir C extension
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r--src/snakeoil/osutils/__init__.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/snakeoil/osutils/__init__.py b/src/snakeoil/osutils/__init__.py
index d4c888ba..1dc7561e 100644
--- a/src/snakeoil/osutils/__init__.py
+++ b/src/snakeoil/osutils/__init__.py
@@ -44,13 +44,7 @@ import os
import stat
import sys
-# No name '_readdir' in module osutils
-# pylint: disable=E0611
-
-try:
- from . import _readdir as module
-except ImportError:
- from . import native_readdir as module
+from . import native_readdir as module
# delay this... it's a 1ms hit, and not a lot of the consumers
# force utf8 codepaths yet.