Skip to content

Commit e056abd

Browse files
committed
Tweaked the handling of yanglint settings.
- Legacy-Id: 18254
1 parent 9810e70 commit e056abd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -806,8 +806,7 @@ def skip_unreadable_post(record):
806806
IDSUBMIT_STAGING_URL = '//www.ietf.org/staging/'
807807
IDSUBMIT_IDNITS_BINARY = '/a/www/ietf-datatracker/scripts/idnits'
808808
SUBMIT_PYANG_COMMAND = 'pyang --verbose --ietf -p {libs} {model}'
809-
SUBMIT_YANGLINT_BINARY = '/usr/bin/yanglint'
810-
SUBMIT_YANGLINT_COMMAND = '%s --verbose -p {tmplib} -p {rfclib} -p {draftlib} -p {ianalib} -p {cataloglib} {model} -i' % SUBMIT_YANGLINT_BINARY
809+
SUBMIT_YANGLINT_COMMAND = 'yanglint --verbose -p {tmplib} -p {rfclib} -p {draftlib} -p {ianalib} -p {cataloglib} {model} -i'
811810

812811
SUBMIT_YANG_CATALOG_MODULEARG = "modules[]={module}"
813812
SUBMIT_YANG_CATALOG_IMPACT_URL = "https://www.yangcatalog.org/yang-search/impact_analysis.php?{moduleargs}&recurse=0&rfcs=1&show_subm=1&show_dir=both"
@@ -948,6 +947,7 @@ def skip_unreadable_post(record):
948947
DOT_BINARY = '/usr/bin/dot'
949948
UNFLATTEN_BINARY= '/usr/bin/unflatten'
950949
RSYNC_BINARY = '/usr/bin/rsync'
950+
YANGLINT_BINARY = '/usr/bin/yanglint'
951951

952952
# Account settings
953953
DAYS_TO_EXPIRE_REGISTRATION_LINK = 3

0 commit comments

Comments
 (0)