Commit aaf8a3bd authored by Luke Mewburn's avatar Luke Mewburn
Browse files

asn_process: fix ruff check and typos

parent ad918f2d
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ def compileAllTargets(asnFiles):
    :returns: A dict of outcome against the first filename of each compile target. Return code and message are included for failures.

    For each compile target (list of filenames) the first filename is assumed
    to be the "primary" file. This doesn't have any relavance to the compilation,
    to be the "primary" file. This doesn't have any relevance to the compilation,
    but will be used as the identifier when reporting any compile errors.
    The compilation is performed by the pycrate ASN compile functions; errors
    are caught as exceptions and rendered into a list.
@@ -174,7 +174,7 @@ if __name__ == "__main__":
    logging.info(f"asn1c found at {asn1c_path}")
    if asn1c_path.lower().endswith("bat"):
        logging.info(
            f"asn1c is a batch file, so assume path separators need to be changed"
            "asn1c is a batch file, so assume path separators need to be changed"
        )
        change_path_to_unix = True

@@ -199,7 +199,7 @@ if __name__ == "__main__":
    logging.info("Parsing ASN1 files")
    parseResults = syntaxCheckASN(parseFileList)
    if processResults(parseResults, "Parsing") > 0:
        exit(-1)
        exit(1)

    logging.info("Getting compile targets")
    asnFiles = asnConfig["asn_files"]