]> git.ipfire.org Git - location/libloc.git/commitdiff
examples: python/create-database.py: Add license to database
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 1 Oct 2019 05:59:50 +0000 (07:59 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 1 Oct 2019 12:00:43 +0000 (12:00 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
examples/python/create-database.py

index 284c85f4df437f33f7a77e1998e6df413af463c8..651709c3495956986385391238c14c71ef78f7c1 100644 (file)
@@ -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"