Print out copy locations on success.
authorBen Limmer <redacted>
Thu, 30 May 2013 03:28:49 +0000 (21:28 -0600)
committerBen Limmer <redacted>
Thu, 30 May 2013 03:28:49 +0000 (21:28 -0600)
Now it's easy to copy/paste where the host file needs to go.

updateHostsFile.py

index f09ed110817b872a6efb170a3eb70d3a4868395e..b5e6d9eaa16cb7c58db3219391235728ccb4aa62 100644 (file)
@@ -37,6 +37,7 @@ def main():
        finalFile = removeDups(mergeFile)
        finalizeFile(finalFile)
        printSuccess('Success! Your shiny new hosts file has been prepared.')
+       print 'Copy the generated file to /etc/hosts or %SystemRoot%\system32\drivers\etc\hosts'
 
 # Prompt the User
 def promptForUpdate():
@@ -252,4 +253,4 @@ def printFailure(text):
 # End Helper Functions
 
 if __name__ == "__main__":
-       main()
\ No newline at end of file
+       main()
git clone https://git.99rst.org/PROJECT