diff --git a/do-copyright.py b/do-copyright.py index f31d780acc51d70089d99208af4782f177a410e7..4e05422fc459a6876e23def59afc44a4bae137ac 100755 --- a/do-copyright.py +++ b/do-copyright.py @@ -61,10 +61,10 @@ def checkNote(filename): print "need update: " + filename + " new=\'" + noteLines[iLine+1] + "\' vs old=\'" + lines[startNote+iLine].rstrip('\n') + "\'" break - print filename + " > " + str(count) + " " + str(startNote) + " " + str(endNote) + " " + str(isSame) + print filename + " > " + str(len(startNote)) + " " + str(startNote) + " " + str(endNote) + " " + str(isSame) # check if notice is the same, or we need to remove multiple notices... - if isSame or count>1: + if isSame or len(startNote)>1: return # add (new) copyright notice here: