From 02efc707f147ca0540faffba6c32f223e785d08a Mon Sep 17 00:00:00 2001 From: Ben Limmer Date: Wed, 29 May 2013 21:28:49 -0600 Subject: [PATCH] Print out copy locations on success. Now it's easy to copy/paste where the host file needs to go. --- updateHostsFile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/updateHostsFile.py b/updateHostsFile.py index f09ed1108..b5e6d9eaa 100644 --- a/updateHostsFile.py +++ b/updateHostsFile.py @@ -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()