46
46
if not os.path.isdir(args.srctree):
47
47
parser.error("Source tree '{}' not a directory".format(args.srctree))
48
48
patch_count = len(patches)
50
50
u"Applying {} patch", u"Applying {} patches", patch_count).format(
53
53
patch_path = os.path.join(args.patchdir, patch)
54
54
if apply_patch(patch_path, args.srctree, args.dry_run, args.verbose):