summaryrefslogtreecommitdiffstats
path: root/sql.py
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2017-06-05 18:20:11 +0100
committerTomasz Kramkowski <tk@the-tk.com>2017-06-05 18:22:45 +0100
commita75a9ed6d9cef8af8e56dcbd42ea3f8fcbd77ed1 (patch)
treed4bc745c02220d99d46e649493e1986d11609107 /sql.py
parent78f70ac702412468f3786176ad799cb6af3f4e40 (diff)
downloaddmarcpipe-a75a9ed6d9cef8af8e56dcbd42ea3f8fcbd77ed1.tar.gz
dmarcpipe-a75a9ed6d9cef8af8e56dcbd42ea3f8fcbd77ed1.tar.xz
dmarcpipe-a75a9ed6d9cef8af8e56dcbd42ea3f8fcbd77ed1.zip
Add project license.
Diffstat (limited to 'sql.py')
-rw-r--r--sql.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/sql.py b/sql.py
index d3b63b0..5857fa8 100644
--- a/sql.py
+++ b/sql.py
@@ -1,3 +1,19 @@
+# sql.py - DMARC report aggregator sqlite interface.
+# Copyright (C) 2016-2017 Tomasz Kramkowski <tk@the-tk.com>
+
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
import sqlite3
_schema = '''