Exemple #1
0
 def write_head(self):
     """
     Write the head part into the new hosts file.
     """
     for head_str in RetrieveData.get_head():
         self.hosts_file.write("%s%s" % (head_str[0], self.eol))
Exemple #2
0
 def write_head(self):
     """
     Write the head part into the new hosts file.
     """
     for head_str in RetrieveData.get_head():
         self.hosts_file.write("%s%s" % (head_str[0], self.eol))