[damned-lies] Fix missing variable in generate_doc_pot_file return values
- From: Claude Paroz <claudep src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Fix missing variable in generate_doc_pot_file return values
- Date: Tue, 30 Aug 2011 18:30:39 +0000 (UTC)
commit c2ae7445f76232ca2ce85331108fca042b88e9cd
Author: Claude Paroz <claude 2xlibre net>
Date: Tue Aug 30 20:29:57 2011 +0200
Fix missing variable in generate_doc_pot_file return values
stats/utils.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/stats/utils.py b/stats/utils.py
index 42aa773..ba50284 100644
--- a/stats/utils.py
+++ b/stats/utils.py
@@ -188,7 +188,7 @@ def generate_doc_pot_file(vcs_path, potbase, moduleid):
else:
modulename = read_makefile_variable([vcs_path], "DOC_MODULE")
if not modulename:
- return "", (("error", ugettext_noop("Module %s doesn't look like gnome-doc-utils module.") % moduleid),)
+ return "", (("error", ugettext_noop("Module %s doesn't look like gnome-doc-utils module.") % moduleid),), tool
if not os.access(os.path.join(vcs_path, "C", modulename + ".xml"), os.R_OK):
if os.access(os.path.join(vcs_path, "C", moduleid + ".xml"), os.R_OK):
errors.append(("warn", ugettext_noop("DOC_MODULE doesn't resolve to a real file, using '%s.xml'.") % (moduleid)))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]