scripts/fix-copyright.py: codacy fixes

This commit is contained in:
Matthias Rustler 2021-03-06 11:15:27 +01:00 committed by deadwood
parent 093d1f001a
commit 41f574e797
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
# Copyright sign unified to (C)
# Script starts with the current directory
import re, os, sys
import re, os
re_src_header = re.compile(r"^(/\*.*?Copyright.*?\*/)(.*)$", re.DOTALL)
re_src_id = re.compile(r"^ *?\$Id\$ *?\n", re.MULTILINE)
@ -29,7 +29,7 @@ def examine_src(filename):
if "AROS Development Team" in header:
oldheader = header
source = match_header.group(2)
# remove $Id$
header = re_src_id.sub("", header)