From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: location@lists.ipfire.org Subject: [PATCH 2/3] Add example network flag to the python create-database example script. Date: Sun, 30 Aug 2020 12:36:01 +0200 Message-ID: <20200830103602.6816-2-stefan.schantl@ipfire.org> In-Reply-To: <20200830103602.6816-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0980683626850977593==" List-Id: --===============0980683626850977593== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Stefan Schantl --- examples/python/create-database.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/python/create-database.py b/examples/python/create-data= base.py index b57ad94..bf8838b 100644 --- a/examples/python/create-database.py +++ b/examples/python/create-database.py @@ -33,6 +33,7 @@ with open(private_key_path, "r") as pkey: n =3D w.add_network("2a07:1c44:5800::/40") n.country_code =3D "DE" n.asn =3D a.number + n.set_flag(location.NETWORK_FLAG_ANYCAST) =20 print(n) =20 --=20 2.20.1 --===============0980683626850977593==--