diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-12-23 23:37:47 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-12-25 20:26:37 +0200 |
commit | 2e4f73760dcbf1fb15bea4c6a89e4a65012ef74d (patch) | |
tree | 82b1e9cbad597a7e1efd936ad04546301fda8974 /src/snakeoil | |
parent | remove proces.closerange (diff) | |
download | snakeoil-2e4f73760dcbf1fb15bea4c6a89e4a65012ef74d.tar.gz snakeoil-2e4f73760dcbf1fb15bea4c6a89e4a65012ef74d.tar.bz2 snakeoil-2e4f73760dcbf1fb15bea4c6a89e4a65012ef74d.zip |
remove osutils.native_readdir.listdir
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'src/snakeoil')
-rw-r--r-- | src/snakeoil/osutils/__init__.py | 2 | ||||
-rw-r--r-- | src/snakeoil/osutils/native_readdir.py | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/snakeoil/osutils/__init__.py b/src/snakeoil/osutils/__init__.py index 036a78d..1910859 100644 --- a/src/snakeoil/osutils/__init__.py +++ b/src/snakeoil/osutils/__init__.py @@ -59,7 +59,7 @@ from . import native_readdir as module # force utf8 codepaths yet. from ..klass import steal_docs -listdir = module.listdir +listdir = os.listdir listdir_dirs = module.listdir_dirs listdir_files = module.listdir_files readdir = module.readdir diff --git a/src/snakeoil/osutils/native_readdir.py b/src/snakeoil/osutils/native_readdir.py index b129a9b..d7c2fd9 100644 --- a/src/snakeoil/osutils/native_readdir.py +++ b/src/snakeoil/osutils/native_readdir.py @@ -18,8 +18,6 @@ from stat import ( from ..mappings import ProtectedDict -listdir = os.listdir - # we can still use the cpy pjoin here, just need to do something about the # import cycle. pjoin = os.path.join |