diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-03-11 05:46:21 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-03-11 05:46:21 +0000 |
commit | c35e82e2fb78f9c05cf0011454cf413c41ed9349 (patch) | |
tree | 2bb6ddd9668cea087c42c6c4177bd23a9824e2a2 /bin | |
parent | fc2e5227451c6a4838bc26e85792c9e247627d69 (diff) | |
download | portage-c35e82e2fb78f9c05cf0011454cf413c41ed9349.tar.gz portage-c35e82e2fb78f9c05cf0011454cf413c41ed9349.tar.bz2 portage-c35e82e2fb78f9c05cf0011454cf413c41ed9349.zip |
For compatibility with python-3.0, use isinstance() instead of type().
(trunk r12633)
svn path=/main/branches/2.1.6/; revision=12906
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/dohtml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bin/dohtml b/bin/dohtml index 56f95bbfa..1c707bdfd 100755 --- a/bin/dohtml +++ b/bin/dohtml @@ -31,7 +31,6 @@ import os import sys -import types def dodir(path): os.spawnlp(os.P_WAIT, "install", "install", "-d", path) @@ -160,9 +159,6 @@ def main(): (options, args) = parse_args() - if type(options.allowed_exts) == types.StringType: - options.allowed_exts = options.allowed_exts.split(",") - if options.verbose: print "Allowed extensions:", options.allowed_exts print "Document prefix : '" + options.doc_prefix + "'" |