From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: location@lists.ipfire.org Subject: [PATCH 2/4] python example script: Add country name and continent code. Date: Thu, 10 Sep 2020 17:57:45 +0200 Message-ID: <20200910155747.12553-2-stefan.schantl@ipfire.org> In-Reply-To: <20200910155747.12553-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6075762093102920177==" List-Id: --===============6075762093102920177== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Stefan Schantl --- examples/python/create-database.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/python/create-database.py b/examples/python/create-data= base.py index bf8838b..04b2dc3 100644 --- a/examples/python/create-database.py +++ b/examples/python/create-database.py @@ -22,6 +22,8 @@ with open(private_key_path, "r") as pkey: =20 # Add a country c =3D w.add_country("DE") + c.continent_code =3D "EU" + c.name =3D "Germany" =20 # Add an AS a =3D w.add_as(204867) --=20 2.20.1 --===============6075762093102920177==--