From 8ad412e223f255f7fa473028b49ac7b01cdbe008 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 19 Feb 2009 05:29:48 +0000 Subject: For compatibility with python-3.0, use isinstance() instead of type(). svn path=/main/trunk/; revision=12633 --- bin/dohtml | 4 ---- 1 file changed, 4 deletions(-) (limited to 'bin') 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 + "'" -- cgit v1.2.3-1-g7c22