[library-web] [mallard] Put alternate titles in cache (GNOME bug 630574)



commit ac0c3e08463b1bf351cdea267d681c1583b4aa0f
Author: Frédéric Péters <fpeters 0d be>
Date:   Fri Dec 3 11:28:04 2010 +0100

    [mallard] Put alternate titles in cache (GNOME bug 630574)

 src/modtypes/mallard.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/modtypes/mallard.py b/src/modtypes/mallard.py
index a851e06..2871262 100644
--- a/src/modtypes/mallard.py
+++ b/src/modtypes/mallard.py
@@ -91,6 +91,8 @@ class MallardPage:
             self.info_nodes.append(desc_tag)
         for link_tag in element.findall('{%s}link' % MAL_NS):
             self.info_nodes.append(link_tag)
+        for link_tag in element.findall('{%s}title' % MAL_NS):
+            self.info_nodes.append(link_tag)
 
     def toxml(self):
         e = ET.Element('{%s}page' % MAL_NS)



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