Changeset 134:6a33aa624ba4 in documentViewer for documentViewer.py


Ignore:
Timestamp:
Jun 18, 2010, 2:08:46 PM (15 years ago)
Author:
casties
Branch:
default
Message:

fixed more oopsies

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentViewer.py

    r133 r134  
    88
    99from Ft.Xml import EMPTY_NAMESPACE, Parse
    10 from Ft.Xml.Domlette import PrettyPrint, Print
     10import Ft.Xml.Domlette
    1111import os.path
    1212import sys
     
    267267        if mk is None:
    268268            return ""
    269         if type(mk) is not ListType:
     269        if not isinstance(mk, list):
    270270            mk=[mk]
    271271        for m in mk:
Note: See TracChangeset for help on using the changeset viewer.