[Python-checkins] CVS: python/dist/src/Doc/tools mkhowto,1.8,1.9
Fred L. Drake
python-dev@python.org
2000年6月29日 16:01:43 -0700
Update of /cvsroot/python/python/dist/src/Doc/tools
In directory slayer.i.sourceforge.net:/tmp/cvs-serv9587
Modified Files:
mkhowto
Log Message:
Removed --l2h-config option; it introduced unnecessary complexity and
is not needed anywhere.
Index: mkhowto
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/mkhowto,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** mkhowto 2000年04月03日 04:19:14 1.8
--- mkhowto 2000年06月29日 23:01:40 1.9
***************
*** 95,99 ****
def __init__(self):
- self.config_files = []
self.formats = []
--- 95,98 ----
***************
*** 108,112 ****
opts, args = getopt.getopt(args, "Hi:a:s:lDkqr:",
["all", "postscript", "help", "iconserver=",
! "address=", "a4", "l2h-config=", "letter",
"link=", "split=", "logging", "debugging",
"keep", "quiet", "runs=", "image-type=",
--- 107,111 ----
opts, args = getopt.getopt(args, "Hi:a:s:lDkqr:",
["all", "postscript", "help", "iconserver=",
! "address=", "a4", "letter",
"link=", "split=", "logging", "debugging",
"keep", "quiet", "runs=", "image-type=",
***************
*** 127,132 ****
elif opt == "--letter":
self.paper = "letter"
- elif opt == "--l2h-config":
- self.config_files.append(arg)
elif opt == "--link":
self.max_link_depth = int(arg)
--- 126,129 ----
***************
*** 371,380 ****
)
options = self.options
- for fn in options.config_files:
- fp.write(open(fn).read())
- fp.write("\n"
- "\n"
- 'print "\nInitializing from file: %s\";\n\n'
- % string_to_perl(fn))
l2hoption(fp, "ABOUT_FILE", options.about_file)
l2hoption(fp, "ICONSERVER", options.icon_server)
--- 368,371 ----