Deletion of unneeded comments
authorfunilrys <redacted>
Wed, 15 Aug 2018 10:28:36 +0000 (12:28 +0200)
committerSteven Black <redacted>
Thu, 6 Sep 2018 03:53:58 +0000 (23:53 -0400)
updateHostsFile.py

index 1c8f426f26d8c4f5de7dc596911a9e64f1b1b51c..ecf8911b000f9d7018b45a1063e24e63e6c1569f 100644 (file)
@@ -183,7 +183,6 @@ def main():
     merge_file = create_initial_file()
     remove_old_hosts_file(settings["backup"])
     if settings["compress"]:
-        # Another mode is required to read and write the file in Python 3
         final_file = open(path_join_robust(settings["outputpath"], "hosts"), "w+b")
         compressed_file = tempfile.NamedTemporaryFile()
         remove_dups_and_excl(merge_file, exclusion_regexes, compressed_file)
@@ -1245,7 +1244,7 @@ def get_file_by_url(url):
 
 def write_data(f, data):
     """
-    Write data to a file object. This is a cross-Python implementation.
+    Write data to a file object.
 
     Parameters
     ----------
@@ -1352,10 +1351,6 @@ def recursive_glob(stem, file_pattern):
     """
     Recursively match files in a directory according to a pattern.
 
-    This function is a version-independent of Python 3.x's function:
-
-    glob( ... "/**/" ... )
-
     Parameters
     ----------
     stem : str
git clone https://git.99rst.org/PROJECT