diff options
| author | David Lamparter <equinox@diac24.net> | 2019-02-04 22:56:50 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2019-02-04 23:00:45 +0100 |
| commit | ed6f991e4306b09fdd518952197b064f8d359ec3 (patch) | |
| tree | 6e76ccab21f0478cd551ca02b3300cca1471a6b9 /doc/manpages/conf.py | |
| parent | 85f855d6a456382715fe70b50418500c16dfa3fb (diff) | |
lib: yang: use common yang_ctx_new_setup()
After creating a libyang context, we need to hook up our callback to use
embedded built-in modules. I hadn't added this to the yang translator
code.
Also, ly_ctx_new fails if the search directory doesn't exist. Since
that's not a hard error for us, work around that and ignore inaccessible
YANG_MODELS_DIR. (This is needed for snap packages.)
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'doc/manpages/conf.py')
0 files changed, 0 insertions, 0 deletions
