summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-04-05 18:09:22 (GMT)
committerFred Drake <fdrake@acm.org>2002-04-05 18:09:22 (GMT)
commitd15a0a05d3161930928355e0b89091994bc54ee5 (patch)
tree2d285bde0f5cb350e241ec9495a37fbbfc771c70
parente03e1fe5ccabbc140483550ba6648dcd110b792b (diff)
downloadcpython-d15a0a05d3161930928355e0b89091994bc54ee5.zip
cpython-d15a0a05d3161930928355e0b89091994bc54ee5.tar.gz
cpython-d15a0a05d3161930928355e0b89091994bc54ee5.tar.bz2
Fix bug in command line handling, noted by Fredrik Lundh.
-rwxr-xr-xDoc/tools/sgmlconv/latex2esis.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/sgmlconv/latex2esis.py b/Doc/tools/sgmlconv/latex2esis.py
index 5bfc748..38b6e49 100755
--- a/Doc/tools/sgmlconv/latex2esis.py
+++ b/Doc/tools/sgmlconv/latex2esis.py
@@ -548,7 +548,7 @@ def main():
ifp = sys.stdin
ofp = sys.stdout
elif len(args) == 1:
- ifp = open(args)
+ ifp = open(args[0])
ofp = sys.stdout
elif len(args) == 2:
ifp = open(args[0])