Merci beaucoup pour cette subtilité.
Ça marche nickel :)
Très bonne journée, Jacky
Le 21/07/2021 à 14:09, Florent Lagoda a écrit :
Bonjour,
J'ai eu le cas aussi.
Il faut refaire l'indentation de ce bloc, même si il parait bon. Pour ma part j'ai remonté chaque ligne une par une et avec Entrée l'indentation se refait automatiquement.
for uninstall in check_installed: if uninstall['version'] < package_version: print('Removing %s' % uninstall['name']) cmd = uninstall_cmd(uninstall['key']) run(cmd)
-- Florent LAGODA - Université Rennes 2 Direction du Système d'Information (DSI) - Pôle Proximité ☎ 13.68