summaryrefslogtreecommitdiff
path: root/Tools/buildbot/getchm.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/buildbot/getchm.py')
-rw-r--r--Tools/buildbot/getchm.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tools/buildbot/getchm.py b/Tools/buildbot/getchm.py
new file mode 100644
index 0000000000..b09c5b2f14
--- /dev/null
+++ b/Tools/buildbot/getchm.py
@@ -0,0 +1,6 @@
+# We cannot build the documentation on Windows, so download an old
+# one instead.
+import urllib, os
+if not os.path.exists("Doc/python25.chm"):
+ urllib.urlretrieve("http://www.python.org/ftp/python/2.5.1/Python25.chm",
+ "Doc/python25.chm")