[Python-checkins] python/dist/src/Doc/tools support.py,1.9,1.10
fdrake at users.sourceforge.net
fdrake at users.sourceforge.net
Fri Nov 5 05:05:09 CET 2004
Update of /cvsroot/python/python/dist/src/Doc/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8406/tools
Modified Files:
support.py
Log Message:
- make the default image type PNG, to match mkhowto
- add a command-line option to control the image type
Index: support.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/support.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- support.py 30 Oct 2002 21:32:40 -0000 1.9
+++ support.py 5 Nov 2004 04:05:06 -0000 1.10
@@ -20,7 +20,9 @@
# content components
"address=", "iconserver=", "favicon=",
- "title=", "uplink=", "uptitle="]
+ "title=", "uplink=", "uptitle=",
+ "image-type=",
+ ]
outputfile = "-"
columns = 1
@@ -51,7 +53,7 @@
self.args = []
self.variables = {"address": "",
"iconserver": "icons",
- "imgtype": "gif",
+ "imgtype": "png",
"title": "Global Module Index",
}
@@ -93,6 +95,8 @@
self.variables["iconserver"] = val.strip() or "."
elif opt == "--favicon":
self.favicon = val.strip()
+ elif opt == "--image-type":
+ self.variables["imgtype"] = val.strip()
else:
self.handle_option(opt, val)
if self.uplink and self.uptitle:
More information about the Python-checkins
mailing list