From b71c5e42874a38e93887b98b07501b9e2fa78aab Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Fri, 25 Aug 2017 21:50:16 +0200 Subject: [PATCH] Allow the separating space between // and OSS to be omitted. --- AVsitter2/prepare-for-oss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AVsitter2/prepare-for-oss.py b/AVsitter2/prepare-for-oss.py index 976a324..3a12985 100644 --- a/AVsitter2/prepare-for-oss.py +++ b/AVsitter2/prepare-for-oss.py @@ -12,7 +12,7 @@ def main(argc, argv): return 1 # Regex that replaces a line with its OSS version when one's specified. - os_re = re.compile(r'^( *)(.*?)// OSS::(.*)$', re.MULTILINE) + os_re = re.compile(r'^( *)(.*?)// ?OSS::(.*)$', re.MULTILINE) f = open(argv[1], "r"); s = f.read()