public inbox for location@lists.ipfire.org
 help / color / mirror / Atom feed
From: Stefan Schantl <stefan.schantl@ipfire.org>
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	[thread overview]
Message-ID: <20200521171519.63875-1-stefan.schantl@ipfire.org> (raw)

[-- 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


                 reply	other threads:[~2020-05-21 17:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200521171519.63875-1-stefan.schantl@ipfire.org \
    --to=stefan.schantl@ipfire.org \
    --cc=location@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox