From 3f4bfa2d70594f1cef7928a4b088d22bbfbf605c Mon Sep 17 00:00:00 2001 From: Steven Black Date: Sun, 11 Dec 2016 12:22:02 -0500 Subject: [PATCH] Code commenting. --- updateHostsFile.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/updateHostsFile.py b/updateHostsFile.py index a985e59ae..8787411a2 100644 --- a/updateHostsFile.py +++ b/updateHostsFile.py @@ -279,12 +279,14 @@ def getUpdateURLsFromFile(source): # File Logic def createInitialFile(): mergeFile = tempfile.NamedTemporaryFile() + # spin the sources for the base file for source in settings["sources"]: filename = os.path.join(settings["datapath"], source, settings["datafilenames"]) with open(filename, "r") as curFile: #Done in a cross-python way writeData(mergeFile, curFile.read()) + # spin the sources for extensions to the base file for source in settings["extensions"]: filename = os.path.join(settings["extensionspath"], source, settings["datafilenames"]) with open(filename, "r") as curFile: