]> git.ipfire.org Git - location/libloc.git/commitdiff
examples/create-database.py: Add hack to allow loading the module in build environment.
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 21 May 2020 17:15:19 +0000 (19:15 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 May 2020 18:11:01 +0000 (18:11 +0000)
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 <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
examples/python/create-database.py

index 86205e0dc41e11b5376271c7d181b805b21140ae..0eaa9454631f30fd32ceedb7c952532bd3e41160 100644 (file)
@@ -1,6 +1,6 @@
 #!/usr/bin/python3
 
-import location
+import _location as location
 import os
 import sys