changeset 35:6237372f76a4

... more GPL License and general cleanups
author jDG@sauge
date Wed, 07 Mar 2018 18:56:48 +0100
parents 01cc5959f199
children 7801c5d8a562
files .hgsubstate Documentations/GPL_template.txt Documentations/setGPLHeader.py
diffstat 3 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/.hgsubstate	Wed Mar 07 17:35:35 2018 +0100
+++ b/.hgsubstate	Wed Mar 07 18:56:48 2018 +0100
@@ -1,4 +1,4 @@
 d065de711f7e1f1f493d367e35c6f0811b48f0c4 Common
-9beabb7ee86d59f32faddaf856ab9eaa520dd8be Discovery
+f96ca4cff9e7ca5b2164aa61bdc25b9366126445 Discovery
 e6486abe8bc808f0ac5a31e58a543be8f354222a Small_CPU
 bfd25bbec1679980289cfe7eb2c6e41345b2c763 wiki
--- a/Documentations/GPL_template.txt	Wed Mar 07 17:35:35 2018 +0100
+++ b/Documentations/GPL_template.txt	Wed Mar 07 18:56:48 2018 +0100
@@ -3,7 +3,7 @@
 ///
 /// \file   $file
 /// \brief  $brief
-/// \author $author
+/// \author Heinrichs Weikamp gmbh
 /// \date   $date
 ///
 /// \details
--- a/Documentations/setGPLHeader.py	Wed Mar 07 17:35:35 2018 +0100
+++ b/Documentations/setGPLHeader.py	Wed Mar 07 18:56:48 2018 +0100
@@ -23,7 +23,7 @@
             if not os.path.exists(path):
                 continue
             print(path + ':')
-            for file in glob.iglob( os.path.join(path, '*.[chs]') ):
+            for file in sorted( glob.iglob( os.path.join(path, '*.[chs]') ) ):
                 try:
                     work(file)
                 except Exception as e:
@@ -44,7 +44,6 @@
     kw = {}
     kw['file']   = file.replace(OSTC4+'/', '')
     kw['brief']  = ''
-    kw['author'] = 'Heinrichs Weikamp'
     kw['date']   = '2018'
 
     # Try to gather info from existing header, if any:
@@ -55,7 +54,6 @@
             return
 
         get(line, 'brief', kw)
-        get(line, 'author', kw)
         get(line, 'date', kw)
 
     # Replace kw in header