Skip to content

Commit 1330f37

Browse files
committed
fix SIM113
1 parent 4ab3890 commit 1330f37

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

dojo/tools/nexpose/parser.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,14 @@ def parse_html_type(self, node):
6363
ret += "<li>" + str(node.text).strip() + "</li>"
6464
if tag == "orderedlist":
6565
i = 1
66-
for item in list(node):
66+
for i, item in enumerate(node):
6767
ret += (
6868
"<ol>"
6969
+ str(i)
7070
+ " "
7171
+ self.parse_html_type(item)
7272
+ "</ol>"
7373
)
74-
i += 1
7574
if tag == "paragraph":
7675
if len(list(node)) > 0:
7776
for child in list(node):

0 commit comments

Comments
 (0)