@staticmethod
    def convert(filename):
        try:
            from hashlib import md5
        except __HOLE__:
            from md5 import md5

        _f, ext = os.path.splitext(filename)
        f = md5(
                    md5("%f%s%f%s" % (time.time(), id({}), random.random(),
                                      os.getpid())).hexdigest(), 
                ).hexdigest()
        
        return f + ext
dataset/ETHPy150Open limodou/uliweb/uliweb/contrib/upload/__init__.py/MD5FilenameConverter.convert