IAP GITLAB

Skip to content
Snippets Groups Projects
Commit ac4bd72e authored by ralfulrich's avatar ralfulrich
Browse files

minor changes of copyright notice

parent 99fea3cf
No related branches found
No related tags found
1 merge request!12Different types of processes
/**
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
*
* See file AUTHORS for a list of contributors.
*
* This software is distributed under the terms of the GNU General Public
* Licence version 3 (GPL Version 3). See file LICENSE for a full version of
* the license.
*/
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
*
* See file AUTHORS for a list of contributors.
*
* This software is distributed under the terms of the GNU General Public
* Licence version 3 (GPL Version 3). See file LICENSE for a full version of
* the license.
*/
/**
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
*
* See file AUTHORS for a list of contributors.
*
* This software is distributed under the terms of the GNU General Public
* Licence version 3 (GPL Version 3). See file LICENSE for a full version of
* the license.
*/
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
*
* See file AUTHORS for a list of contributors.
*
* This software is distributed under the terms of the GNU General Public
* Licence version 3 (GPL Version 3). See file LICENSE for a full version of
* the license.
*/
/**
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
*
* See file AUTHORS for a list of contributors.
*
* This software is distributed under the terms of the GNU General Public
* Licence version 3 (GPL Version 3). See file LICENSE for a full version of
* the license.
*/
* (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu
*
* See file AUTHORS for a list of contributors.
*
* This software is distributed under the terms of the GNU General Public
* Licence version 3 (GPL Version 3). See file LICENSE for a full version of
* the license.
*/
......@@ -43,13 +43,18 @@ def checkNote(filename):
iLine += 1
# now check if copyright notice is already there and identical...
isSame = True
isSame = False
if startNote>=0 and endNote>=0 and isCopyright:
isSame = True
noteLines = text.split('\n')
for iLine in range(len(noteLines)):
if noteLines[iLine] != lines[startNote+iLine]:
for iLine in range(len(noteLines)-2):
if startNote+iLine >= len(lines):
isSame = False
print "not same: " + noteLines[iLine] + " " + lines[startNote+iLine]
break
if noteLines[iLine+1].strip(" \n") != lines[startNote+iLine].strip(" \n"):
isSame = False
print "not same: " + filename + " new=\'" + noteLines[iLine+1] + "\' vs old=\'" + lines[startNote+iLine].rstrip('\n') + "\'"
break
# check if notice is the same
if isSame:
......
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