| Server IP : 46.17.175.229 / Your IP : 216.73.217.122 Web Server : LiteSpeed System : Linux lt-bnk-web1163.main-hosting.eu 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64 User : u528038015 ( 528038015) PHP Version : 8.2.33 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python37/lib/python3.7/site-packages/pr2modules/ |
Upload File : |
'''
This namespace is here only to provide compatibility with 0.6.x
It will be removed in 0.8.x
'''
import sys
import warnings
# load pyroute2 entry points
import pyroute2 # noqa: F401
warnings.warn(
'pr2modules namespace is deprecated, use pyroute2 instead',
DeprecationWarning,
)
# alias every `pyroute2` entry, in addition to the block above
#
# Bug-Url: https://github.com/svinota/pyroute2/issues/913
#
for key, value in list(sys.modules.items()):
if key.startswith("pyroute2."):
sys.modules[key.replace("pyroute2", "pr2modules")] = value