From 7824a2b4c6c53615feb18ff558a8a60b44e8fd41 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Mon, 26 Jan 2015 08:32:27 -0500 Subject: Reference the proper attribute. Fixes #339. --- setuptools/command/easy_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/command/easy_install.py') diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 206fc58d..e057b508 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -483,7 +483,7 @@ class easy_install(Command): """).lstrip() def cant_write_to_target(self): - msg = self._cant_write_msg % (sys.exc_info()[1], self.install_dir,) + msg = self.__cant_write_msg % (sys.exc_info()[1], self.install_dir,) if not os.path.exists(self.install_dir): msg += '\n' + self.__not_exists_id -- cgit v1.2.1