mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
keep this beacon from stack tracing at the loader (#34825)
This commit is contained in:
parent
b9db0b0036
commit
7bda166e9d
@ -9,6 +9,7 @@ from __future__ import absolute_import
|
|||||||
# Import third party libs
|
# Import third party libs
|
||||||
try:
|
try:
|
||||||
from pyroute2.ipdb import IPDB
|
from pyroute2.ipdb import IPDB
|
||||||
|
IP = IPDB()
|
||||||
HAS_PYROUTE2 = True
|
HAS_PYROUTE2 = True
|
||||||
except ImportError:
|
except ImportError:
|
||||||
HAS_PYROUTE2 = False
|
HAS_PYROUTE2 = False
|
||||||
@ -29,8 +30,6 @@ ATTRS = ['family', 'txqlen', 'ipdb_scope', 'index', 'operstate', 'group',
|
|||||||
|
|
||||||
LAST_STATS = {}
|
LAST_STATS = {}
|
||||||
|
|
||||||
IP = IPDB()
|
|
||||||
|
|
||||||
|
|
||||||
class Hashabledict(dict):
|
class Hashabledict(dict):
|
||||||
'''
|
'''
|
||||||
|
Loading…
Reference in New Issue
Block a user