From: Stefan Schantl <stefan.schantl@ipfire.org>
To: location@lists.ipfire.org
Subject: [PATCH] examples: python/create-database.py: Add license to database
Date: Tue, 01 Oct 2019 07:59:50 +0200 [thread overview]
Message-ID: <20191001055950.4365-1-stefan.schantl@ipfire.org> (raw)
[-- 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
reply other threads:[~2019-10-01 5:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191001055950.4365-1-stefan.schantl@ipfire.org \
--to=stefan.schantl@ipfire.org \
--cc=location@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox