mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Update src/pip/_internal/req/req_uninstall.py
Co-authored-by: Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com>
This commit is contained in:
parent
c7c4ade601
commit
197392ca3d
|
@ -438,10 +438,7 @@ class UninstallPathSet:
|
|||
if verbose:
|
||||
_display('Will actually move:', compress_for_rename(self.paths))
|
||||
|
||||
if ask('Proceed (Y/n)? ', ('y', 'n', '')) in ('y', ''):
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
return ask('Proceed (Y/n)? ', ('y', 'n', '')) != 'n'
|
||||
|
||||
def rollback(self):
|
||||
# type: () -> None
|
||||
|
|
Loading…
Reference in a new issue