examples/create-database.py: Add hack to allow loading the module in build environment.
Commit Message
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>
---
examples/python/create-database.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -1,6 +1,6 @@
#!/usr/bin/python3
-import location
+import _location as location
import os
import sys