view hgext3rd/__init__.py @ 49601:8009a89bc18b

cffi: fix a bytes vs str issue on macOS when listing directories This code hasn't been touched in recent years, and the other implementation return bytes for the filename, so I assume this is a holdover from the py2 days. I was unable to test it on mac though, because the `_osutil` import failed.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 08 Nov 2022 18:05:19 -0500
parents 6000f5b25c9b
children f4733654f144
line wrap: on
line source

# name space package to host third party extensions
import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)