fixing yaml file import for junos views
This commit is contained in:
1 parent
8ab55587d2
commit
0673999342
2 files changed
+2
-2
No files matched your search
+2
-1
@@ -1 +1,2 @@
|
||||
include requirements.txt
|
||||
include requirements.txt
|
||||
include utils/*.yml
|
||||
@@ -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