From d8bfca254d38cdfe8d193583d2ec7eb590528433 Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Fri, 12 Jan 2007 08:19:46 +0000 Subject: More String deprecation svn path=/main/trunk/; revision=5597 --- bin/dohtml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'bin/dohtml') diff --git a/bin/dohtml b/bin/dohtml index 56347a4a..054ab36b 100755 --- a/bin/dohtml +++ b/bin/dohtml @@ -30,7 +30,6 @@ # import os -import string import sys import types @@ -95,11 +94,11 @@ def print_help(): print " [-r] [-V] [file ...]" print print " -a Set the list of allowed to those that are specified." - print " Default:", string.join(opts.allowed_exts, ",") + print " Default:", ",".join(opts.allowed_exts) print " -A Extend the list of allowed file types." print " -f Set list of allowed extensionless file names." print " -x Set directories to be excluded from recursion." - print " Default:", string.join(opts.disallowed_dirs, ",") + print " Default:", ",".join(opts.disallowed_dirs) print " -r Install files and directories recursively." print " -V Be verbose." print @@ -127,7 +126,7 @@ def parse_args(): elif arg == "-p": options.doc_prefix = sys.argv[x] else: - values = string.split(sys.argv[x], ",") + values = sys.argv[x].split(",") if arg == "-A": options.allowed_exts.extend(values) elif arg == "-a": -- cgit v1.2.3-65-gdbad