From b5bc07276354a2a90268ee918ddf6bcd50877a86 Mon Sep 17 00:00:00 2001 From: "shalldows@163.com" Date: Tue, 9 May 2023 10:13:42 +0800 Subject: [PATCH] make a patch --- send.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 send.py diff --git a/send.py b/send.py new file mode 100644 index 0000000..256f7ae --- /dev/null +++ b/send.py @@ -0,0 +1,17 @@ +import os +import time + + +#time.sleep(430) +res = os.popen("ls /root/linux-git/kernel").readlines() +data = [] +for r in res: + r = r.split("\n")[0] + if r.endswith(".patch"): + data.append(r) +print(data) + +os.chdir("/root/linux-git/kernel") +for d in data: + os.popen("git send-email --to=wanghaosqsq@163.com {} --suppress-cc=all --force".format(d)).readlines() + time.sleep(0.1) -- Gitee