From 0c08bb019c29eb45bbeea5d0eb9b1db8a8a0c3c4 Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Thu, 31 Jan 2019 14:31:31 +0100 Subject: [PATCH] improvements --- do-copyright.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/do-copyright.py b/do-copyright.py index 8e37f6be0..5f26c9e02 100755 --- a/do-copyright.py +++ b/do-copyright.py @@ -64,7 +64,7 @@ def checkNote(filename): 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 len(startNote)>1: + if isSame and len(startNote)<=1: return # add (new) copyright notice here: -- GitLab