Commit c7d00f64 authored by grahamj's avatar grahamj Committed by canterburym
Browse files

Update file asn_process.py

parent 1b9ab96d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -43,10 +43,10 @@ def syntaxCheckASN(fileList):
        try:
            if file.as_posix() in filesWithBigInts:
                newFile = reconstrainInteger(str(file))
                p = run([asn1c, '-E', fix_path(newFile)], capture_output=True)
                p = run(["asn1c", '-E', fix_path(newFile)], capture_output=True)
                Path(newFile).unlink()
            else:
                p = run([asn1c, '-E', fix_path(str(file))], capture_output=True)
                p = run(["asn1c", '-E', fix_path(str(file))], capture_output=True)
            if (p.returncode != 0):
                errorMessage = p.stderr.decode().splitlines()[0]
                if errorMessage.startswith('   Value "18446744073709551615" at line'):