src/eric7/Plugins/WizardPlugins/SetupWizard/SetupWizardDialog.py

branch
eric7-maintenance
changeset 10460
3b34efa2857c
parent 10439
21c28b0f9e41
child 10621
f5631f40c4d9
equal deleted inserted replaced
10366:411df92e881f 10460:3b34efa2857c
1 # -*- coding: utf-8 -*- 1 # -*- coding: utf-8 -*-
2 2
3 # Copyright (c) 2013 - 2023 Detlev Offenbach <detlev@die-offenbachs.de> 3 # Copyright (c) 2013 - 2024 Detlev Offenbach <detlev@die-offenbachs.de>
4 # 4 #
5 5
6 """ 6 """
7 Module implementing the setup.py wizard dialog. 7 Module implementing the setup.py wizard dialog.
8 """ 8 """
592 for row in range(self.entryPointsList.topLevelItemCount()): 592 for row in range(self.entryPointsList.topLevelItemCount()):
593 itm = self.entryPointsList.topLevelItem(row) 593 itm = self.entryPointsList.topLevelItem(row)
594 entryPoints[itm.data(0, Qt.ItemDataRole.UserRole)][ 594 entryPoints[itm.data(0, Qt.ItemDataRole.UserRole)][
595 itm.text(1) 595 itm.text(1)
596 ] = itm.text(2) 596 ] = itm.text(2)
597 for epType in list(entryPoints.keys()): 597 for epType in list(entryPoints):
598 if entryPoints[epType]: 598 if entryPoints[epType]:
599 entryPoints[epType] = SetupCfgUtilities.toString( 599 entryPoints[epType] = SetupCfgUtilities.toString(
600 entryPoints[epType] 600 entryPoints[epType]
601 ) 601 )
602 else: 602 else:

eric ide

mercurial