summaryrefslogtreecommitdiffstats
path: root/bin/dohtml
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2007-01-12 08:19:46 +0000
committerAlec Warner <antarus@gentoo.org>2007-01-12 08:19:46 +0000
commitd8bfca254d38cdfe8d193583d2ec7eb590528433 (patch)
tree20b2d7dd38b7756b6a8bcbdc40e896620edd7005 /bin/dohtml
parent544952b129dbb7cd0a0e9ab323c2e89c1b4060c9 (diff)
downloadportage-d8bfca254d38cdfe8d193583d2ec7eb590528433.tar.gz
portage-d8bfca254d38cdfe8d193583d2ec7eb590528433.tar.bz2
portage-d8bfca254d38cdfe8d193583d2ec7eb590528433.zip
More String deprecation
svn path=/main/trunk/; revision=5597
Diffstat (limited to 'bin/dohtml')
-rwxr-xr-xbin/dohtml7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/dohtml b/bin/dohtml
index 56347a4a7..054ab36ba 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> [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":