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: Uppercase first character of patch description.
This commit is contained in:
2
debian/tools/patchutils.py
vendored
2
debian/tools/patchutils.py
vendored
@@ -328,6 +328,8 @@ def read_patch(filename):
|
||||
assert fp.read() == line
|
||||
subject, revision = _parse_subject(subject)
|
||||
if not subject.endswith("."): subject += "."
|
||||
subject = re.sub('^([^:]*: *)([a-z])', lambda x: "%s%s" %
|
||||
(x.group(1), x.group(2).upper()), subject, 1)
|
||||
header['subject'], header['revision'] = subject, revision
|
||||
|
||||
elif line.startswith("Signed-off-by: "):
|
||||
|
Reference in New Issue
Block a user