[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[www_shared] 18/19: avoid need to have Makefile set PYTHONPATH (breaks t
From: |
gnunet |
Subject: |
[www_shared] 18/19: avoid need to have Makefile set PYTHONPATH (breaks then other things) |
Date: |
Sat, 25 Jan 2020 11:29:33 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository www_shared.
commit eb6a5c5d225a785f2510c466b7410fc5851fa030
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Dec 23 00:19:40 2019 +0100
avoid need to have Makefile set PYTHONPATH (breaks then other things)
---
site.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/site.py b/site.py
index 7de9816..b38f993 100644
--- a/site.py
+++ b/site.py
@@ -18,6 +18,11 @@ import codecs
import jinja2
from pathlib import Path, PurePosixPath, PurePath
from ruamel.yaml import YAML
+
+# Make sure the current directory is in the search path when trying
+# to import i18nfix.
+sys.path.insert(0, ".")
+
import inc.i18nfix as i18nfix
from inc.textproc import cut_news_text, cut_article
from inc.fileproc import copy_files, copy_tree
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [www_shared] 01/19: init from www.git, (continued)
- [www_shared] 01/19: init from www.git, gnunet, 2020/01/25
- [www_shared] 03/19: drop sum.py, remove function from fileproc., gnunet, 2020/01/25
- [www_shared] 09/19: rss2.0 spec., gnunet, 2020/01/25
- [www_shared] 14/19: add macro for single link preview, gnunet, 2020/01/25
- [www_shared] 08/19: follow-up, add rss, gnunet, 2020/01/25
- [www_shared] 05/19: add sitemap generator script in python., gnunet, 2020/01/25
- [www_shared] 07/19: debug print statements., gnunet, 2020/01/25
- [www_shared] 11/19: Merge branch 'default' of gnunet.org:www_shared into default, gnunet, 2020/01/25
- [www_shared] 17/19: news.macro.j2: use date: title for shortnews, gnunet, 2020/01/25
- [www_shared] 12/19: merge README.text and README, gnunet, 2020/01/25
- [www_shared] 18/19: avoid need to have Makefile set PYTHONPATH (breaks then other things),
gnunet <=
- [www_shared] 16/19: remove forgotten todo file, gnunet, 2020/01/25
- [www_shared] 13/19: Add copyright header, fix copyright headers., gnunet, 2020/01/25
- [www_shared] 10/19: licensing, notes, todo, readme, gnunet, 2020/01/25
- [www_shared] 15/19: site.py: expose conf directly to jinja2., gnunet, 2020/01/25
- [www_shared] 19/19: add mybabel wrapper, gnunet, 2020/01/25