[library-web] don't reference wrong variable names in debugging messages



commit 84b576318be1f526c729120a28213bb2a1a70d2a
Author: Frédéric Péters <fpeters 0d be>
Date:   Wed Jan 29 18:33:49 2014 +0000

    don't reference wrong variable names in debugging messages

 src/lgo.py |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/lgo.py b/src/lgo.py
index 7541cb0..67e4229 100755
--- a/src/lgo.py
+++ b/src/lgo.py
@@ -717,17 +717,17 @@ class Lgo(App):
                     try:
                         gnome_help_doc = [x for x in app.documents if x.module == 'gnome-help'][0]
                     except IndexError:
-                        logging.debug('failed combining documents (%s, %s) (missing gnome-help)' % (
-                                doc.one_dot_version, lang))
+                        logging.debug('failed combining documents (%s) (missing gnome-help)' % \
+                                doc.one_dot_version)
                     else:
                         try:
                             gnome_help_doc.version_subs.get(doc.one_dot_version).extend_mallard(doc)
                         except AttributeError:
-                            logging.debug('failed combining documents (%s, %s) (missing version)' % (
-                                    doc.one_dot_version, lang))
+                            logging.debug('failed combining documents (%s) (missing version)' % \
+                                    doc.one_dot_version)
                             continue
-                        logging.debug('extending gnome-help with gnome-getting-started-docs %s (%s)' % (
-                                doc.one_dot_version, lang))
+                        logging.debug('extending gnome-help with gnome-getting-started-docs %s' % \
+                                doc.one_dot_version)
                         doc.filename = filename
                         doc.mtime_tarball = mtime
                         if extraction_happened:


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