Update of /cvsroot/happydoc/HappyDoc3/happydoclib
In directory sc8-pr-cvs1:/tmp/cvs-serv29413/happydoclib
Modified Files:
packagetree.py
Log Message:
Replace the mimetypes module initialization that is also done by the
application setup code. This is needed for the tests to work, since
not all of the tests execute the application.
Index: packagetree.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc3/happydoclib/packagetree.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** packagetree.py 18 Jan 2003 14:35:24 -0000 1.3
--- packagetree.py 18 Jan 2003 16:03:33 -0000 1.4
***************
*** 77,80 ****
--- 77,82 ----
TRACE_LEVEL=2
+ mimetypes.types_map['.stx'] = 'text/x-structured'
+
class PackageTree(UserDict.UserDict):
"""Tree of package information.
|