l_already_prepared = [i for i, tmp in pi_already_prepared]
newList, removedList = prepare.removeInList(self.products, l_already_prepared)
if len(newList) == 0 and len(removedList) > 0:
- msg = "\nAll the products are already installed, do nothing!\n"
+ msg = "\nAll the products are already installed, do not prepare them\n"
self.logger.write(src.printcolors.printcWarning(msg), 1)
- return 0
+ return []
if len(removedList) > 0:
msg = (
"\nList of already prepared products that are skipped : %s\n"