src/eric7/CodeFormatting/IsortFormattingDialog.py

branch
eric7
changeset 10621
f5631f40c4d9
parent 10439
21c28b0f9e41
child 10689
3ede487187f2
equal deleted inserted replaced
10620:699b5ceb39aa 10621:f5631f40c4d9
387 387
388 itm = QTreeWidgetItem( 388 itm = QTreeWidgetItem(
389 self.resultsList, 389 self.resultsList,
390 [ 390 [
391 statusMsg, 391 statusMsg,
392 self.__project.getRelativePath(filename) 392 (
393 if self.__project 393 self.__project.getRelativePath(filename)
394 else filename, 394 if self.__project
395 else filename
396 ),
395 ], 397 ],
396 ) 398 )
397 itm.setData(0, IsortFormattingDialog.StatusRole, status) 399 itm.setData(0, IsortFormattingDialog.StatusRole, status)
398 itm.setData(0, IsortFormattingDialog.FileNameRole, filename) 400 itm.setData(0, IsortFormattingDialog.FileNameRole, filename)
399 if data: 401 if data:

eric ide

mercurial