diff options
Diffstat (limited to 'setuptools/command')
| -rwxr-xr-x | setuptools/command/easy_install.py | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 3194644e..dd1e3b25 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -799,6 +799,8 @@ Please make the appropriate changes for your system and try again.          mask = current_umask()          if not self.dry_run:              ensure_directory(target) +            if os.path.exists(target): +                os.unlink(target)              f = open(target,"w"+mode)              f.write(contents)              f.close()  | 
