Comment 2 for bug 328452

Revision history for this message
Brian Murray (brian-murray) wrote :

In DistUpgradeViewText.py:

_("Restart the system now [yN] "))

was being passed to askYesNoQuestion as a 3rd argument which became "default" and since default was not "No" it became "Yes". Personally, I think it'd be better if the logic were switched so:

if default == 'Yes':
  print _("Continue [Yn] "),
  ...
else:
  print _("Continue [yN] "),
  ....

but my branch will just fix the restart required bit.