Commit 3543b734 authored by Luke Mewburn's avatar Luke Mewburn Committed by Luke Mewburn
Browse files

asn_process: sort file list before processing

Sort list of *.asn1 and *.asn before processing for consistent output.
parent c3428df8
Loading
Loading
Loading
Loading
+1 −1
Changes for testing/asn/asn_process.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -175,7 +175,7 @@ def main():
        change_path_to_unix = True

    logger.info("Searching for ASN.1 files")
    fileList = list(Path(".").rglob("*.asn1")) + list(Path(".").rglob("*.asn"))
    fileList = sorted(list(Path(".").rglob("*.asn1")) + list(Path(".").rglob("*.asn")))
    logger.info(f"{len(fileList)} ASN.1 files found")
    for file in fileList:
        logger.debug(f"  {file}")