]> git.donarmstrong.com Git - wannabuild.git/commitdiff
Write a line even without a Previous-State
authorJoachim Breitner <nomeata@debian.org>
Thu, 30 Jul 2009 11:55:09 +0000 (13:55 +0200)
committerJoachim Breitner <nomeata@debian.org>
Thu, 30 Jul 2009 11:55:09 +0000 (13:55 +0200)
bin/wanna-build

index 277273cab3f46dd3068c0a647f8d433bfc22ddb7..48b350fbec7f35bc881836b7ac40c9366f734522 100755 (executable)
@@ -1889,6 +1889,8 @@ sub list_packages {
                print "  Previous state was $pkg->{'Previous-State'} until ",
                          "$pkg->{'State-Change'}\n"
                        if $verbose && $pkg->{'Previous-State'};
+               print "  No previous state recorded\n"
+                       if $verbose && !$pkg->{'Previous-State'};
                print "  Previous failing reasons:\n    ",
                      join("\n    ",split("\n",$pkg->{'Old-Failed'})), "\n"
                        if $verbose && $pkg->{'Old-Failed'};