[SCM] watchdog branch, master, updated. c075d4ba4bb40cbdd95ba2770ae8ff42baab1140

1 view
Skip to first unread message

aaronsw

unread,
Jul 31, 2009, 12:38:17 AM7/31/09
to watchdo...@googlegroups.com
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "watchdog".

The branch, master has been updated
via c075d4ba4bb40cbdd95ba2770ae8ff42baab1140 (commit)
from 6b264aa231acdb6fd34c8ec7e5b56b2ff70b7c95 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c075d4ba4bb40cbdd95ba2770ae8ff42baab1140
Author: Aaron Swartz <m...@aaronsw.com>
Date: Fri Jul 31 00:38:04 2009 -0400

fix bug

-----------------------------------------------------------------------

Summary of changes:
utils/sitemap.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/utils/sitemap.py b/utils/sitemap.py
index 5121a16..1dfc4c0 100644
--- a/utils/sitemap.py
+++ b/utils/sitemap.py
@@ -48,11 +48,11 @@ def make_siteindex():

for i, x in enumerate(groups):
write("sitemaps/sitemap_%04d.xml.gz" % i, str(sitemap(x)))
+
names = ["%04d" % j for j in range(i)]
timestamp = datetime.datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%S') + 'Z'
index = siteindex(names, timestamp)
- write("sitemaps/siteindex.xml.gz", index)
+ write("sitemaps/siteindex.xml.gz", str(index))

if __name__ == "__main__":
make_siteindex()
-


hooks/post-receive
--
watchdog

Reply all
Reply to author
Forward
0 new messages