FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 06-22-2010, 03:27 PM
Ales Kozumplik
 
Default 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 09:03 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org