Changeset 1148:85e17ae7628b


Ignore:
Timestamp:
04/24/24 13:55:55 (7 months ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

The mapping of delay codes to their meaning is generated with the newlines replaced by a space in the meaning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dcdatagen.py

    r1147 r1148  
    744744                if type in [DELAYCODE, DELAYCODE_EXPLANATION_REQUIRED]:
    745745                    print("    \"%s\": \"%s\"," % \
    746                       (str(columns[codeIndex]).strip(), columns[meaningIndex][0].replace("\n", "")), file=dcdata)
     746                      (str(columns[codeIndex]).strip(), columns[meaningIndex][0].replace("\n", " ")), file=dcdata)
    747747
    748748            print("}", file=dcdata)
Note: See TracChangeset for help on using the changeset viewer.