--- documentViewer/documentViewer.py 2010/06/17 18:34:36 1.72 +++ documentViewer/documentViewer.py 2010/06/18 14:08:46 1.73 @@ -7,7 +7,7 @@ from AccessControl import getSecurityMan from Globals import package_home from Ft.Xml import EMPTY_NAMESPACE, Parse -from Ft.Xml.Domlette import PrettyPrint, Print +import Ft.Xml.Domlette import os.path import sys import urllib @@ -266,7 +266,7 @@ class documentViewer(Folder): ret="" if mk is None: return "" - if type(mk) is not ListType: + if not isinstance(mk, list): mk=[mk] for m in mk: ret+="mk=%s"%m