From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: location@lists.ipfire.org Subject: [PATCH] examples/create-database.py: Add hack to allow loading the module in build environment. Date: Thu, 21 May 2020 19:15:19 +0200 Message-ID: <20200521171519.63875-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0457372811170416616==" List-Id: --===============0457372811170416616== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This script is needed to generate the database which is used by the testsuite of the perl binding of libloc. This allows us to revert the following commits: * 482eb94f165507ffcb6503e162535064d6dcecac * 3d26288681601b273f034de1f2241dc4342791b5 Signed-off-by: Stefan Schantl --- examples/python/create-database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/python/create-database.py b/examples/python/create-data= base.py index 86205e0..0eaa945 100644 --- a/examples/python/create-database.py +++ b/examples/python/create-database.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 =20 -import location +import _location as location import os import sys =20 --=20 2.26.1 --===============0457372811170416616==--