Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment: We could fix the error message, for example, like this:
--- a/Lib/packaging/install.py Fri Jun 24 10:21:46 2011 +0100 +++ b/Lib/packaging/install.py Fri Jun 24 13:06:08 2011 +0100 @@ -412,6 +415,7 @@ error = _move_file(file_, tmpfile) if error is not None: success = False + failed_on = file_ break finally: if not os.path.isfile(file_): @@ -425,7 +429,7 @@ if not success: logger.info('%r cannot be removed.', project_name) - logger.info('Error: %s' % str(error)) + logger.info('Error: %s: %s' % (error, failed_on)) return False logger.info('Removing %r: ', project_name) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12395> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com