diff --git a/build_tools/gather_sources.py b/build_tools/gather_sources.py index 187bf1e..44c18be 100644 --- a/build_tools/gather_sources.py +++ b/build_tools/gather_sources.py @@ -42,7 +42,7 @@ def apply_python_license(filename): """ print("Shell/Python file: %s" % filename) - relimit = r'^(?s)#\+.*#\+' + relimit=r'^#\+\n(#.*\n)*#\+\n' apply_license(license, relimit, filename)