[odrs-web/oscp] Use short form SPDX license IDs in all source files



commit f9c0912b8b7112d4f6865700d6a6e85de71d792e
Author: Richard Hughes <richard hughsie com>
Date:   Wed Jun 26 12:26:05 2019 +0100

    Use short form SPDX license IDs in all source files

 app_data/app/__init__.py            | 3 ++-
 app_data/app/db.py                  | 3 ++-
 app_data/app/models.py              | 3 ++-
 app_data/app/templates/default.html | 4 ++--
 app_data/app/views.py               | 3 ++-
 app_data/app/views_admin.py         | 3 ++-
 app_data/cron.py                    | 7 +++----
 app_data/flaskapp.py                | 3 ++-
 app_data/wsgi-scripts/odrs.wsgi     | 3 ++-
 9 files changed, 19 insertions(+), 13 deletions(-)
---
diff --git a/app_data/app/__init__.py b/app_data/app/__init__.py
index 525e41b..9539b92 100644
--- a/app_data/app/__init__.py
+++ b/app_data/app/__init__.py
@@ -4,7 +4,8 @@
 # pylint: disable=invalid-name,missing-docstring,wrong-import-order,wrong-import-position
 #
 # Copyright (C) 2015-2017 Richard Hughes <richard hughsie com>
-# Licensed under the GNU General Public License Version 2
+#
+# SPDX-License-Identifier: GPL-3.0+
 
 import os
 
diff --git a/app_data/app/db.py b/app_data/app/db.py
index 36356f6..7aade10 100644
--- a/app_data/app/db.py
+++ b/app_data/app/db.py
@@ -4,7 +4,8 @@
 # pylint: disable=invalid-name,missing-docstring
 #
 # Copyright (C) 2016-2017 Richard Hughes <richard hughsie com>
-# Licensed under the GNU General Public License Version 3
+#
+# SPDX-License-Identifier: GPL-3.0+
 
 import os
 import cgi
diff --git a/app_data/app/models.py b/app_data/app/models.py
index 57e59ca..67a36c0 100644
--- a/app_data/app/models.py
+++ b/app_data/app/models.py
@@ -4,7 +4,8 @@
 # pylint: disable=invalid-name,missing-docstring,too-few-public-methods,too-many-instance-attributes
 #
 # Copyright (C) 2015-2017 Richard Hughes <richard hughsie com>
-# Licensed under the GNU General Public License Version 2
+#
+# SPDX-License-Identifier: GPL-3.0+
 
 class User():
     def __init__(self):
diff --git a/app_data/app/templates/default.html b/app_data/app/templates/default.html
index fabbaf3..274e54e 100644
--- a/app_data/app/templates/default.html
+++ b/app_data/app/templates/default.html
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 
-<!-- Copyright (C) 2016 Richard Hughes <richard hughsie com>
-     Licensed under the GNU General Public License Version 2 -->
+<!-- Copyright (C) 2016-2019 Richard Hughes <richard hughsie com>
+     SPDX-License-Identifier: GPL-3.0+ -->
 <html lang="en">
 <head>
   <title>{% block title %}{% endblock %}</title>
diff --git a/app_data/app/views.py b/app_data/app/views.py
index 237f488..f788e6e 100644
--- a/app_data/app/views.py
+++ b/app_data/app/views.py
@@ -4,7 +4,8 @@
 # pylint: disable=invalid-name,missing-docstring
 #
 # Copyright (C) 2015-2017 Richard Hughes <richard hughsie com>
-# Licensed under the GNU General Public License Version 2
+#
+# SPDX-License-Identifier: GPL-3.0+
 
 import json
 import os
diff --git a/app_data/app/views_admin.py b/app_data/app/views_admin.py
index 327a6c9..2f77fbb 100644
--- a/app_data/app/views_admin.py
+++ b/app_data/app/views_admin.py
@@ -4,7 +4,8 @@
 # pylint: disable=invalid-name,missing-docstring
 #
 # Copyright (C) 2015-2017 Richard Hughes <richard hughsie com>
-# Licensed under the GNU General Public License Version 2
+#
+# SPDX-License-Identifier: GPL-3.0+
 
 import datetime
 import calendar
diff --git a/app_data/cron.py b/app_data/cron.py
index a13fcdf..fff8b20 100755
--- a/app_data/cron.py
+++ b/app_data/cron.py
@@ -1,10 +1,9 @@
 #!/usr/bin/python3
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2016-2018 Richard Hughes <richard hughsie com>
-# Licensed under the GNU General Public License Version 3
-
-from __future__ import print_function
+# Copyright (C) 2015-2018 Richard Hughes <richard hughsie com>
+#
+# SPDX-License-Identifier: GPL-3.0+
 
 import json
 import sys
diff --git a/app_data/flaskapp.py b/app_data/flaskapp.py
index c6d851b..43ee5c4 100755
--- a/app_data/flaskapp.py
+++ b/app_data/flaskapp.py
@@ -2,7 +2,8 @@
 # -*- coding: utf-8 -*-
 #
 # Copyright (C) 2016-2017 Richard Hughes <richard hughsie com>
-# Licensed under the GNU General Public License Version 3
+#
+# SPDX-License-Identifier: GPL-3.0+
 
 from app import app
 
diff --git a/app_data/wsgi-scripts/odrs.wsgi b/app_data/wsgi-scripts/odrs.wsgi
index e1ede3f..a60d5ed 100644
--- a/app_data/wsgi-scripts/odrs.wsgi
+++ b/app_data/wsgi-scripts/odrs.wsgi
@@ -2,7 +2,8 @@
 # -*- coding: utf-8 -*-
 #
 # Copyright (C) 2016 Richard Hughes <richard hughsie com>
-# Licensed under the GNU General Public License Version 3
+#
+# SPDX-License-Identifier: GPL-3.0+
 
 import sys
 import os


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]