fixing yaml file import for junos views

This commit is contained in:
Elisa Jasinska authored and David Barroso committed 2015-05-23 09:37:34 +02:00
1 parent 8ab55587d2
commit 0673999342
2 files changed
+2 -2

No files matched your search

+2 -1
View File
@@ -1 +1,2 @@
include requirements.txt
include requirements.txt
include utils/*.yml
-1
View File
@@ -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_))