[gnome-doc-utils] [xml2po] Missing self reference
- From: Claude Paroz <claudep src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-doc-utils] [xml2po] Missing self reference
- Date: Sun, 2 Aug 2009 21:04:24 +0000 (UTC)
commit d299dff1fa447e48150e10bcd28a9fc0b0403bb2
Author: Claude Paroz <claude 2xlibre net>
Date: Sun Aug 2 22:46:52 2009 +0200
[xml2po] Missing self reference
xml2po/xml2po/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xml2po/xml2po/__init__.py b/xml2po/xml2po/__init__.py
index a26e269..945b604 100644
--- a/xml2po/xml2po/__init__.py
+++ b/xml2po/xml2po/__init__.py
@@ -567,7 +567,7 @@ class Main(object):
sys.exit(1)
else:
sys.stderr.write("Unable to load mode '%s'. Falling back to 'basic' mode with automatic detection (-a).\n" % modename)
- return load_mode('basic')
+ return self.load_mode('basic')
def to_pot(self, xmlfiles):
""" Produce a pot file from the list of 'xmlfiles' """
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]