|
Server : Apache System : Linux ecngx264.inmotionhosting.com 4.18.0-553.77.1.lve.el8.x86_64 #1 SMP Wed Oct 8 14:21:00 UTC 2025 x86_64 User : lonias5 ( 3576) PHP Version : 7.3.33 Disable Function : NONE Directory : /usr/lib/imh-fail2ban/lib64/python3.13/site-packages/netaddr/ |
Upload File : |
# -----------------------------------------------------------------------------
# Copyright (c) 2008 by David P. D. Moss. All rights reserved.
#
# Released under the BSD license. See the LICENSE file for details.
# -----------------------------------------------------------------------------
import importlib.resources
if hasattr(importlib.resources, 'files'):
def _open_binary(pkg, res):
return importlib.resources.files(pkg).joinpath(res).open('rb')
else:
_open_binary = importlib.resources.open_binary