Changeset 1812:876844f3c1ef

Show
Ignore:
Timestamp:
05/04/09 14:35:07 (10 months ago)
Author:
Ronny Pfannschmidt <Ronny.Pfannschmidt@…>
Branch:
default
Message:

insane strike to avoid the threadunsafe init of mimetypes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pida/core/document.py

    r1682 r1812  
    1111import os 
    1212import mimetypes 
     13mimetypes.init() # expensive shit to keep mimetypes.guess_type threadsave 
    1314import stat 
    1415import time