[library-web] fix variable name :/
- From: Frederic Peters <fpeters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [library-web] fix variable name :/
- Date: Sun, 26 Jan 2014 14:34:24 +0000 (UTC)
commit db9d83b923f368df7a9c8a3a213a8cadab621f2b
Author: Frédéric Péters <fpeters 0d be>
Date: Sun Jan 26 14:34:11 2014 +0000
fix variable name :/
src/modtypes/mallard.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/modtypes/mallard.py b/src/modtypes/mallard.py
index 2bee270..6b4077e 100644
--- a/src/modtypes/mallard.py
+++ b/src/modtypes/mallard.py
@@ -104,7 +104,7 @@ class MallardPage:
# unfortunately ElementText on RHEL 6.5 doesn't support attribute
# lookup, so we do your own loop.
# title_text = tree.find("{%s}info/{%s}title[ type='text']" % (MAL_NS, MAL_NS))
- info_title_tag = None
+ title_text = None
for info_title_tag in tree.findall("{%s}info/{%s}title" % (MAL_NS, MAL_NS)):
if info_title_tag.attrib.get('type') == 'text':
title_text = info_title_tag
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]