Mercurial > hg > documentViewer
diff documentViewer.py @ 134:6a33aa624ba4
fixed more oopsies
author | casties |
---|---|
date | Fri, 18 Jun 2010 16:08:46 +0200 |
parents | 40730cfbcb8e |
children | 123248b3bb34 |
line wrap: on
line diff
--- a/documentViewer.py Thu Jun 17 20:34:36 2010 +0200 +++ b/documentViewer.py Fri Jun 18 16:08:46 2010 +0200 @@ -7,7 +7,7 @@ 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 @@ 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