File: 01_typo_fix

package info (click to toggle)
google-sitemapgen 1.5-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 336 kB
  • ctags: 381
  • sloc: python: 4,059; xml: 16; makefile: 7
file content (18 lines) | stat: -rw-r--r-- 768 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: correct minor upstream typo
Author: Charlie Smotherman <cjsmo@cableone.net>
Origin: https://bugs.launchpad.net/ubuntu/+source/google-sitemapgen/+bug/670186
Last-Update: 2011-03-01

Index: google-sitemapgen-1.5/sitemap_gen.py
===================================================================
--- google-sitemapgen-1.5.orig/sitemap_gen.py	2011-03-01 15:04:04.000000000 -0600
+++ google-sitemapgen-1.5/sitemap_gen.py	2011-03-01 15:04:41.000000000 -0600
@@ -1799,7 +1799,7 @@
     if self._sitemap_type == 'news':
       sitemap_index_header = NEWS_SITEMAP_HEADER
     else:
-      sitemap__index_header = GENERAL_SITEMAP_HEADER
+      sitemap_index_header = GENERAL_SITEMAP_HEADER
  
     # Make a lastmod time
     lastmod = TimestampISO8601(time.time())