From d3c3af73453c4127c670e1ae2bf55fb3bca822a8 Mon Sep 17 00:00:00 2001
From: ralfulrich <ralf.ulrich@kit.edu>
Date: Thu, 31 Jan 2019 14:28:32 +0100
Subject: [PATCH] improvements

---
 do-copyright.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/do-copyright.py b/do-copyright.py
index f31d780a..4e05422f 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:
-- 
GitLab