public inbox for location@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] examples/create-database.py: Add hack to allow loading the module in build environment.
@ 2020-05-21 17:15 Stefan Schantl
  0 siblings, 0 replies; only message in thread
From: Stefan Schantl @ 2020-05-21 17:15 UTC (permalink / raw)
  To: location

[-- Attachment #1: Type: text/plain, Size: 748 bytes --]

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(a)ipfire.org>
---
 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-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
 
-- 
2.26.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-21 17:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-21 17:15 [PATCH] examples/create-database.py: Add hack to allow loading the module in build environment Stefan Schantl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox