Doug Hellmann committed b2314d2

change verbosity level when creating hook scripts so the messages can be suppressed in tests

Comments (0)

Files changed (2)

+2011-04-10  Doug Hellmann  <>
+	* virtualenvwrapper/ (make_hook): Change verbosity
+	of message telling the user we have created a new hook script for
+	them.
 2011-02-26  Doug Hellmann  <>
 	* docs/sphinx/ Just hard-code the version.


     """Execute a script in a subshell.
     if os.path.exists(script_path):
-#         with open(script_path, 'rt') as f:
-#             print '+' * 80
-#             print
-#             print '+' * 80
         cmd = [script_path] + list(args)
         log.debug('running %s', str(cmd))
     filename = os.path.expanduser(os.path.expandvars(filename))
     if not os.path.exists(filename):
-        log.warning('creating %s', filename)
+'creating %s', filename)
         f = open(filename, 'w')
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.