mirror of https://github.com/deadw00d/AROS.git
scripts/fix-copyright.py: codacy fixes
This commit is contained in:
parent
093d1f001a
commit
41f574e797
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue