Package: python-feedgen / 1.0.0-3
Metadata
Package | Version | Patches format |
---|---|---|
python-feedgen | 1.0.0-3 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
debian/0001 fix atom feed links.patch | (download) |
feedgen/entry.py |
12 6 6 - 0 ! |
fix handling of links in atom feeds The existing code iterated over entry links like this: . for link in self.__atom_link or []: link = xml_elem('link', entry, href=link['href']) . The first line in the loop overwrites the `link` variable, rendering the rest of the loop a no-op. This commit corrects the situation by creating a new variable rather than overwriting the loop variable. |
1