[Apt-listbugs-commits] [SCM] apt-listbugs development tree branch, master, updated. debian/0.1.3-31-gd2adc48
Francesco Poli (t1000)
frx at firenze.linux.it
Sat Oct 16 15:37:45 UTC 2010
The following commit has been merged in the master branch:
commit d2adc48f638132b62dc0e84a9d69060815184e72
Author: Francesco Poli (t1000) <frx at firenze.linux.it>
Date: Thu Sep 30 23:21:17 2010 +0200
more stylistic consistency in questions to user
diff --git a/lib/apt-listbugs/logic.rb b/lib/apt-listbugs/logic.rb
index c2f378f..da67a41 100644
--- a/lib/apt-listbugs/logic.rb
+++ b/lib/apt-listbugs/logic.rb
@@ -332,12 +332,12 @@ class Viewer
ask_str = _("Are you sure you want to install/upgrade the above packages?").dup
if @config.querybts != nil || @config.browser != nil
if hold_pkgs.empty?
- ask_str << " [Y/n/?/...] "
+ ask_str << " [Y/n/?/...]"
else
- ask_str << " [N/?/...] "
+ ask_str << " [N/?/...]"
end
else
- ask_str << " [Y/n] "
+ ask_str << " [Y/n]"
end
if @config.yes.nil?
a = @config.frontend.ask ask_str
@@ -1176,9 +1176,9 @@ class ConsoleFrontend
while true
msgyn = "#{msg}"
if default == true
- msgyn << " [Y/n] "
+ msgyn << " [Y/n]"
else
- msgyn << " [y/N] "
+ msgyn << " [y/N]"
end
a = ask msgyn
if a == ""
--
apt-listbugs development tree
More information about the Apt-listbugs-commits
mailing list