Commit ee542af
committed
fix iterating over subContent
when trying to @replace a command group, the following exception was
raised:
Exception occurred:
File "/usr/lib/python3.6/site-packages/sphinxarg/ext.py", line 96, in print_action_groups
for k, v in subContent.items():
AttributeError: 'list' object has no attribute 'items'
and later
Exception occurred:
File "/usr/lib/python3.6/site-packages/sphinxarg/ext.py", line 105, in print_action_groups
for k, v in map_nested_definitions(subContent):
ValueError: too many values to unpack (expected 2)1 parent 2743ab2 commit ee542af
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | | - | |
| 106 | + | |
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
| |||
0 commit comments