From: Ben Limmer Date: Thu, 30 May 2013 03:28:49 +0000 (-0600) Subject: Print out copy locations on success. X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=02efc707f147ca0540faffba6c32f223e785d08a;p=stevenblack-hosts.git Print out copy locations on success. Now it's easy to copy/paste where the host file needs to go. --- 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()