public inbox for location@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] examples: python/create-database.py: Add license to database
@ 2019-10-01  5:59 Stefan Schantl
  0 siblings, 0 replies; only message in thread
From: Stefan Schantl @ 2019-10-01  5:59 UTC (permalink / raw)
  To: location

[-- Attachment #1: Type: text/plain, Size: 602 bytes --]

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

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"
-- 
2.20.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-01  5:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-01  5:59 [PATCH] examples: python/create-database.py: Add license to database Stefan Schantl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox