From: Stefan Schantl Date: Thu, 21 May 2020 17:15:19 +0000 (+0200) Subject: examples/create-database.py: Add hack to allow loading the module in build environment. X-Git-Tag: 0.9.1~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=61b2d4e5bc79b05fd98d2ac5068582a8082b086d;p=location%2Flibloc.git examples/create-database.py: Add hack to allow loading the module in build environment. 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 Signed-off-by: Michael Tremer --- diff --git a/examples/python/create-database.py b/examples/python/create-database.py index 86205e0..0eaa945 100644 --- a/examples/python/create-database.py +++ b/examples/python/create-database.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 -import location +import _location as location import os import sys