def safeclose(self, f):
        try:
            url = f.geturl()
        except __HOLE__:
            pass
        else:
            if url[:4] == 'ftp:' or url[:7] == 'file://':
                # Apparently ftp connections don't like to be closed
                # prematurely...
                text = f.read()
        f.close()
dataset/ETHPy150Open francelabs/datafari/windows/python/Tools/webchecker/webchecker.py/Checker.safeclose