[Apt-listbugs-commits] [SCM] apt-listbugs development tree branch, master, updated. apt-listbugs/0.1.6-4-g43b13c3

Serafeim Zanikolas sez at debian.org
Wed Mar 28 13:37:41 UTC 2012


Hi Francesco,

On Sun, Mar 18, 2012 at 06:02:52PM +0000, Francesco Poli (wintermute) wrote:
> The following commit has been merged in the master branch:
> commit 43b13c360ce0fea88a462214869b18c2017183a5
> Author: Francesco Poli (wintermute) <invernomuto at paranoici.org>
> Date:   Sun Mar 18 18:58:15 2012 +0100
[..]
>      # are bugs that the user fears still affecting unpinned_candidate_version ?
>      $stderr.puts "Checking bug(s) #{feared_list} for #{pack_with_vers}" if $DEBUG
> -    open("|#{LISTBUGS} -y -q -B #{feared_list} list #{pack_with_vers}") { |io|
> +    optionB = nil
> +    if feared_list != "" and feared_list != nil

consider the use of idiomatic methods, such as feared_list.nil? and feared_list.empty?

sez



More information about the Apt-listbugs-commits mailing list