Kaydet (Commit) cbff3837 authored tarafından frknkrc44's avatar frknkrc44

Bug fixes 47

üst 32859017
......@@ -98,9 +98,10 @@ def remove(A, ignore_dep=False, ignore_safety=False, confirm=False):
color='cyan')
del removal_size, symbol
if confirm and not ctx.ui.confirm(_('Would you like to continue?')):
ctx.ui.warning(_('Package removal declined.'))
return False
if confirm or len(order) > len(A_0):
if not ctx.ui.confirm(_('Would you like to continue?')):
ctx.ui.warning(_('Package removal declined.'))
return False
if ctx.get_option('dry_run'):
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment