Skip to content

Commit 9d095bf

Browse files
committed
fix lint-py issues
1 parent 24b85d1 commit 9d095bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/testpy/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ def Ls(self, path):
178178
result.append([subpath, 'run-tests'])
179179
continue
180180

181-
for name in files:
182-
if name.endswith('.js'):
183-
result.append([subpath, name[:-3]])
181+
result.extend([ [subpath, name[:-3]]
182+
for name in files
183+
if name.endswith('.js') ])
184184

185185
return result
186186

0 commit comments

Comments
 (0)