summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-06-29 23:01:40 (GMT)
committerFred Drake <fdrake@acm.org>2000-06-29 23:01:40 (GMT)
commitcc7371c437595b664efa53dd442fced33d25c34c (patch)
treeb97ec4b505cf540062e06fb1fa7589def916d12c /Doc/tools
parentcd079c4c28e614a6057fa1351d3ac82160cae330 (diff)
downloadcpython-cc7371c437595b664efa53dd442fced33d25c34c.zip
cpython-cc7371c437595b664efa53dd442fced33d25c34c.tar.gz
cpython-cc7371c437595b664efa53dd442fced33d25c34c.tar.bz2
Removed --l2h-config option; it introduced unnecessary complexity and
is not needed anywhere.
Diffstat (limited to 'Doc/tools')
-rwxr-xr-xDoc/tools/mkhowto11
1 files changed, 1 insertions, 10 deletions
diff --git a/Doc/tools/mkhowto b/Doc/tools/mkhowto
index 043ac57..e7510b9 100755
--- a/Doc/tools/mkhowto
+++ b/Doc/tools/mkhowto
@@ -94,7 +94,6 @@ class Options:
ALL_FORMATS = ("dvi", "html", "pdf", "ps", "text")
def __init__(self):
- self.config_files = []
self.formats = []
def __getitem__(self, key):
@@ -107,7 +106,7 @@ class Options:
def parse(self, args):
opts, args = getopt.getopt(args, "Hi:a:s:lDkqr:",
["all", "postscript", "help", "iconserver=",
- "address=", "a4", "l2h-config=", "letter",
+ "address=", "a4", "letter",
"link=", "split=", "logging", "debugging",
"keep", "quiet", "runs=", "image-type=",
"about=", "numeric"]
@@ -126,8 +125,6 @@ class Options:
self.paper = "a4"
elif opt == "--letter":
self.paper = "letter"
- elif opt == "--l2h-config":
- self.config_files.append(arg)
elif opt == "--link":
self.max_link_depth = int(arg)
elif opt in ("-s", "--split"):
@@ -370,12 +367,6 @@ class Job:
"$NO_AUTO_LINK = 1;\n"
)
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)
l2hoption(fp, "IMAGE_TYPE", options.image_type)