Skip to content

Commit ff7d723

Browse files
author
Clemens Mandl
committed
Removed unnecessary list comprehension
1 parent 52839aa commit ff7d723

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tools/export/nb/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,9 @@ def create_jinja_ctx(self):
213213

214214
sys_libs = [self.prepare_sys_lib(lib) for lib
215215
in self.toolchain.sys_libs]
216-
preproc = " ".join([part for part
217-
in ([basename(self.toolchain.preproc[0])] +
216+
preproc = " ".join([basename(self.toolchain.preproc[0])] +
218217
self.toolchain.preproc[1:] +
219-
self.toolchain.ld[1:])])
218+
self.toolchain.ld[1:])
220219

221220
if 'nbproject' in include_paths:
222221
include_paths.remove('nbproject')

0 commit comments

Comments
 (0)