diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-08-24 20:08:07 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-08-24 20:58:54 +0300 |
commit | be80c6813c4ae056e667a6065816f73471446b86 (patch) | |
tree | 974fac701f97ca2a6c7a219d1d2be53bba5911d1 /src | |
parent | remove cython _posix.pyx (diff) | |
download | snakeoil-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__.py | 8 |
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. |