summaryrefslogtreecommitdiffstats
path: root/yang/embedmodel.py
diff options
context:
space:
mode:
Diffstat (limited to 'yang/embedmodel.py')
-rw-r--r--yang/embedmodel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yang/embedmodel.py b/yang/embedmodel.py
index 39bf2bb92..a77a81363 100644
--- a/yang/embedmodel.py
+++ b/yang/embedmodel.py
@@ -94,7 +94,7 @@ else:
sub_name = search_name.group(1)
name = re_mainname.search(data).group(1)
sub_rev = re_rev.search(data).group(1)
- fmt = "LYS_YANG"
+ fmt = "LYS_IN_YANG"
if name is None or rev is None:
raise ValueError("cannot determine YANG module name and revision")