Silence the DeprecationWarning raised by importing mimetools in BaseHTTPServer.
commit3d74527d3e508b79a7d9ee1d6a598cf9b2b7c3c7
authorbrett.cannon <brett.cannon@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sat, 16 Aug 2008 21:47:07 +0000 (16 21:47 +0000)
committerbrett.cannon <brett.cannon@6015fed2-1504-0410-9fe1-9d1591cc4771>
Sat, 16 Aug 2008 21:47:07 +0000 (16 21:47 +0000)
treefec34084205689fa7d7dbf556733d62af9ba7907
parentc6d231ad6b960eb98b208bb9da23aa834832a846
Silence the DeprecationWarning raised by importing mimetools in BaseHTTPServer.
This does have an unfortunate side-effect of silencing the warning for all
subsequent code that imports mimetools as well since the warning is only
executed upon the first import of mimetools.

git-svn-id: http://svn.python.org/projects/python/trunk@65716 6015fed2-1504-0410-9fe1-9d1591cc4771
Lib/BaseHTTPServer.py
Misc/NEWS