Commits

Doug Hellmann committed b2314d2

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

  • Participants
  • Parent commits f1392cf

Comments (0)

Files changed (2)

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

virtualenvwrapper/user_scripts.py

     """Execute a script in a subshell.
     """
     if os.path.exists(script_path):
-#         with open(script_path, 'rt') as f:
-#             print '+' * 80
-#             print f.read()
-#             print '+' * 80
         cmd = [script_path] + list(args)
         log.debug('running %s', str(cmd))
         try:
     """
     filename = os.path.expanduser(os.path.expandvars(filename))
     if not os.path.exists(filename):
-        log.warning('creating %s', filename)
+        log.info('creating %s', filename)
         f = open(filename, 'w')
         try:
             f.write("""#!%(shell)s