fixing yaml file import for junos views
This commit is contained in:
1 parent
4a8884c91a
commit
b856cbea7d
2 files changed
+2
-2
No files matched your search
@@ -4,5 +4,4 @@ Load tables/views
|
||||
from jnpr.junos.factory import loadyaml
|
||||
from os.path import splitext
|
||||
_YAML_ = splitext(__file__)[0] + '.yml'
|
||||
print _YAML_
|
||||
globals().update(loadyaml(_YAML_))
|
||||
Reference in new issue
Block a user