[library-web] [gnomedocbook] make sure $(NULL) doesn't get added as a language
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [library-web] [gnomedocbook] make sure $(NULL) doesn't get added as a language
- Date: Fri, 14 Aug 2009 22:02:30 +0000 (UTC)
commit 367d5d959f13dba8998b54f42740c5ccf00711d6
Author: Frédéric Péters <fpeters 0d be>
Date: Sat Aug 15 00:00:30 2009 +0200
[gnomedocbook] make sure $(NULL) doesn't get added as a language
src/modtypes/gnomedocbook.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/modtypes/gnomedocbook.py b/src/modtypes/gnomedocbook.py
index 1625188..149f781 100644
--- a/src/modtypes/gnomedocbook.py
+++ b/src/modtypes/gnomedocbook.py
@@ -92,6 +92,8 @@ class GnomeDocbookModule(DocModule):
self.makefile_am)[0].split()
if not 'en' in doc_linguas:
doc_linguas.append('en')
+ if '$(NULL)' in doc_linguas:
+ doc_linguas.remove('$(NULL)')
except IndexError:
doc_linguas = ['en']
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]