-
- args_patch = args_appli + args_product_opt + args_sample
-
- # Call the source command that gets the source
- res_patch = runner.patch(args_patch)
+ if args_product_opt == '--product ':
+ msg = _("Nothing to patch\n")
+ logger.write(msg)
+ res_patch = 0
+ else:
+ args_patch = args_appli + args_product_opt + args_sample
+
+ # Call the source command that gets the source
+ res_patch = runner.patch(args_patch)