From 5f82303036c5aafce8f70ad88c83ffb8897439fc Mon Sep 17 00:00:00 2001 From: Luther Tychonievich Date: Tue, 15 Oct 2024 11:17:39 -0500 Subject: [PATCH] Always quote tags --- build/uri-def.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/uri-def.py b/build/uri-def.py index 498548ed..14b9fad5 100644 --- a/build/uri-def.py +++ b/build/uri-def.py @@ -396,7 +396,7 @@ def expand_prefix(txt, prefixes): if g7[tag][0] in ('structure', 'enumeration', 'calendar', 'month'): ptag = re.sub(r'.*-', '', re.sub(r'-[A-Z]?[a-z].*', '', tag)) - print('\nstandard tag: '+(repr(ptag) if ptag in ('YES','NO','TRUE','FALSE', '0', '1', '2', '3') else ptag), file=fh) + print('\nstandard tag: '+repr(ptag), file=fh) if len(g7[tag][1]) > 0: print('\nspecification:', file=fh)