PluginManager/PluginRepositoryDialog.py

changeset 6024
e5a2b8b613dd
parent 6023
c6dabc972560
child 6048
82ad8ec9548c
equal deleted inserted replaced
6023:c6dabc972560 6024:e5a2b8b613dd
905 for pluginName in downloads: 905 for pluginName in downloads:
906 downloads[pluginName].sort(key=lambda x: x[1]) 906 downloads[pluginName].sort(key=lambda x: x[1])
907 907
908 if pluginName in hiddenPlugins and \ 908 if pluginName in hiddenPlugins and \
909 not Preferences.getPluginManager("KeepHidden"): 909 not Preferences.getPluginManager("KeepHidden"):
910 removeFiles = downloads[pluginName][0] 910 removeFiles = [f[0] for f in downloads[pluginName]]
911 else: 911 else:
912 removeFiles = [f[0] for f in downloads[pluginName][ 912 removeFiles = [f[0] for f in downloads[pluginName][
913 :-Preferences.getPluginManager("KeepGenerations")]] 913 :-Preferences.getPluginManager("KeepGenerations")]]
914 for removeFile in removeFiles: 914 for removeFile in removeFiles:
915 try: 915 try:

eric ide

mercurial