[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[master 2/2] modules: fix getlangnames.



only here the import is done relatively, not through pyanaconda since that
pulls in isys which is not yet at the correct location during build-time
(and build thus fails).
---
 data/Makefile.am        |    3 +--
 scripts/getlangnames.py |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/data/Makefile.am b/data/Makefile.am
index 083be50..c9fbc60 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -32,5 +32,4 @@ dist_lang_DATA        = lang-table
 MAINTAINERCLEANFILES = Makefile.in
 
 lang-names: lang-table
-	PYTHONPATH="$(top_srcdir)/:$(top_srcdir)/isys/.libs" $(PYTHON) ../scripts/getlangnames.py > lang-names
-
+	PYTHONPATH="$(top_srcdir)/pyanaconda" $(PYTHON) ../scripts/getlangnames.py > lang-names
diff --git a/scripts/getlangnames.py b/scripts/getlangnames.py
index 5af8d0f..877ee72 100644
--- a/scripts/getlangnames.py
+++ b/scripts/getlangnames.py
@@ -19,7 +19,7 @@
 
 import sys
 sys.path.append("..")
-import pyanaconda.language as language
+import language as language
 
 import gettext
 
-- 
1.7.0.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]