Added patch to implement support for AVIFile interface proxies.

This commit is contained in:
Sebastian Lackner
2016-02-07 06:58:32 +01:00
parent 8a350d004c
commit 1e5b8f9940
4 changed files with 262 additions and 0 deletions

View File

@@ -302,6 +302,8 @@ def read_patch(filename, content=None):
if r is not None: return subject, int(r.group(2))
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("^(.*)\\[%s\\]$" % version, subject, re.IGNORECASE)
if r is not None: return r.group(1).strip(), 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("^([^:]+) %s: (.*)$" % version, subject, re.IGNORECASE)