Skip to content
Snippets Groups Projects
Commit 3364f79c authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Scripts:

- Updated license headers in update_license_headers.py script
parent 95a93fec
No related branches found
No related tags found
2 merge requests!235Release TeraFlowSDN 3.0,!224Resolve "Update license headers for Release 3"
......@@ -27,8 +27,9 @@ FILE_PATH_SKIPPED = 'out-skipped.txt'
FILE_PATH_NO_HEADER = 'out-no-header.txt'
FILE_PATH_UPDATED = 'out-updated.txt'
RE_OLD_COPYRIGHT = re.compile(r'Copyright\ 2021\-2023\ H2020\ TeraFlow\ \(https\:\/\/www\.teraflow\-h2020\.eu\/\)')
STR_NEW_COPYRIGHT = 'Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/)'
#RE_OLD_COPYRIGHT = re.compile(r'Copyright\ 2021\-2023\ H2020\ TeraFlow\ \(https\:\/\/www\.teraflow\-h2020\.eu\/\)')
RE_OLD_COPYRIGHT = re.compile(r'Copyright\ 2022\-2023\ ETSI\ TeraFlowSDN\ \-\ TFS\ OSG\ \(https\:\/\/tfs\.etsi\.org\/\)')
STR_NEW_COPYRIGHT = 'Copyright 2022-2024 ETSI TeraFlowSDN - TFS OSG/SDG (https://tfs.etsi.org/)'
def skip_file(file_path : str) -> bool:
if file_path.endswith('.pyc'): return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment