@@ -19,8 +19,8 @@ class Command(BaseCommand):
1919 Populate the yang module repositories from drafts and RFCs.
2020
2121 Extracts yang models from RFCs (found in settings.RFC_PATH and places
22- them in settings.YANG_RFC_MODEL_DIR , and from active drafts, placed in
23- settings.YANG_DRAFT_MODEL_DIR if valid and settings.YANG_INVAL_MODEL_DIR
22+ them in settings.SUBMIT_YANG_RFC_MODEL_DIR , and from active drafts, placed in
23+ settings.SUBMIT_YANG_DRAFT_MODEL_DIR if valid and settings.SUBMIT_YANG_INVAL_MODEL_DIR
2424 if not.
2525
2626 """
@@ -95,7 +95,7 @@ def extract_from(file, dir, strict=True):
9595
9696 rfcdir = Path (settings .RFC_PATH )
9797
98- moddir = Path (settings .YANG_RFC_MODEL_DIR )
98+ moddir = Path (settings .SUBMIT_YANG_RFC_MODEL_DIR )
9999 if not moddir .exists ():
100100 moddir .mkdir (parents = True )
101101
@@ -131,7 +131,7 @@ def active(item):
131131
132132 draftdir = Path (settings .INTERNET_DRAFT_PATH )
133133
134- moddir = Path (settings .YANG_DRAFT_MODEL_DIR )
134+ moddir = Path (settings .SUBMIT_YANG_DRAFT_MODEL_DIR )
135135 if not moddir .exists ():
136136 moddir .mkdir (parents = True )
137137 print ("Emptying %s ..." % moddir )
@@ -163,7 +163,7 @@ def active(item):
163163
164164 # Extract invalid modules from drafts
165165 valdir = moddir
166- moddir = Path (settings .YANG_INVAL_MODEL_DIR )
166+ moddir = Path (settings .SUBMIT_YANG_INVAL_MODEL_DIR )
167167 if not moddir .exists ():
168168 moddir .mkdir (parents = True )
169169 print ("Emptying %s ..." % moddir )
0 commit comments