'Fetch the latest hosts data file from project server.'

def get_file(self):

    socket.setdefaulttimeout(10)
    try:
        urllib.urlretrieve(self.url, self.tmp_path, self.parent.process_bar)
        self.replace_old()
    except Exception as e:
        raise e
