aboutsummaryrefslogtreecommitdiff
path: root/python_bindings_example.py
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2018-01-16 15:36:26 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2018-01-16 15:36:26 +0100
commit3c034e3ec9a894aff243bb5f5f6009eb6c660dd7 (patch)
tree0511dfa1d00a7872e8cc3fbe25b1df9298915603 /python_bindings_example.py
parentf9fbe90e2b1add06b8c2c1597958fc597e997b95 (diff)
parenta45744daf09388bec100cbe30d4c61d5a07fb66c (diff)
downloadlibnitrokey-3c034e3ec9a894aff243bb5f5f6009eb6c660dd7.tar.gz
libnitrokey-3c034e3ec9a894aff243bb5f5f6009eb6c660dd7.tar.bz2
Merge branch 'license_update'
Added license-headers to all source code files. Fixes #83
Diffstat (limited to 'python_bindings_example.py')
-rwxr-xr-xpython_bindings_example.py23
1 files changed, 22 insertions, 1 deletions
diff --git a/python_bindings_example.py b/python_bindings_example.py
index a8f0dbb..9d81dca 100755
--- a/python_bindings_example.py
+++ b/python_bindings_example.py
@@ -1,4 +1,25 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
+"""
+Copyright (c) 2015-2018 Nitrokey UG
+
+This file is part of libnitrokey.
+
+libnitrokey is free software: you can redistribute it and/or modify
+it under the terms of the GNU Lesser General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+any later version.
+
+libnitrokey 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 Lesser General Public License
+along with libnitrokey. If not, see <http://www.gnu.org/licenses/>.
+
+SPDX-License-Identifier: LGPL-3.0
+"""
+
import cffi
from enum import Enum