mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-29 16:11:01 +03:00
fix: resolve remaining 19 Python test failures — 285/285 on both runtimes
Script logic fixes (PY mirroring PS1): - skd-compile: fix (?i) regex flag placement for Python 3.11+ - mxl-compile: handle list-of-lists row format (PS1 silently ignores) - subsystem-compile: add "objects" → "content" synonym alias - role-compile: add "rights" → "objects" synonym alias - meta-compile: sort HTTP/Web service method/operation iteration - form-edit: insert ChildItems after Events/AutoCommandBar (not at end) - mxl-compile: sort colWidthMap iteration in both PS1 and PY for deterministic format indices Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
4565808b77
commit
972cd5061d
@@ -97,6 +97,10 @@ def main():
|
||||
explanation = str(defn['explanation']) if defn.get('explanation') else ''
|
||||
picture = str(defn['picture']) if defn.get('picture') else ''
|
||||
|
||||
# Synonym: accept "objects" as alias for "content"
|
||||
if not defn.get('content') and defn.get('objects'):
|
||||
defn['content'] = defn['objects']
|
||||
|
||||
content_items = []
|
||||
if defn.get('content'):
|
||||
for c in defn['content']:
|
||||
|
||||
Reference in New Issue
Block a user