fixing yaml file import for junos views

This commit is contained in:
Elisa Jasinska committed 2015-05-17 14:15:18 +02:00
1 parent 4a8884c91a
commit b856cbea7d
2 files changed
+2 -2

No files matched your search

-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_))