You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
patchutils.py: Strip '(resend)' from patch subject.
This commit is contained in:
2
debian/tools/patchutils.py
vendored
2
debian/tools/patchutils.py
vendored
@@ -305,6 +305,8 @@ def read_patch(filename):
|
||||
if r is not None: return "%s: %s" % (r.group(1), r.group(4)), int(r.group(3))
|
||||
r = re.match("^(.*) +%s$" % version, subject, re.IGNORECASE)
|
||||
if r is not None: return r.group(1).strip(), int(r.group(3))
|
||||
r = re.match("^(.*)\\(resend\\)$", subject, re.IGNORECASE)
|
||||
if r is not None: return r.group(1).strip(), 1
|
||||
return subject, 1
|
||||
|
||||
header = {}
|
||||
|
Reference in New Issue
Block a user