examples: python/create-database.py: Add license to database

Message ID 20191001055950.4365-1-stefan.schantl@ipfire.org
State Accepted
Commit bc1bcc156124b30ceb34d6cd7dd13151119ab3ae
Headers
Series examples: python/create-database.py: Add license to database |

Commit Message

Stefan Schantl Oct. 1, 2019, 5:59 a.m. UTC
  Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 examples/python/create-database.py | 3 +++
 1 file changed, 3 insertions(+)
  

Patch

diff --git a/examples/python/create-database.py b/examples/python/create-database.py
index 284c85f..651709c 100644
--- a/examples/python/create-database.py
+++ b/examples/python/create-database.py
@@ -10,6 +10,9 @@  w.vendor = "IPFire Project"
 # Set a description
 w.description = "This is a geo location database"
 
+# Set a license
+w.license = "CC"
+
 # Add an AS
 a = w.add_as(204867)
 a.name = "Lightning Wire Labs GmbH"